8电极无SDK蓝牙连接demo

This commit is contained in:
qiaocl 2023-10-17 17:11:27 +08:00
parent 13b55836be
commit 37a3190746
1 changed files with 0 additions and 1 deletions

View File

@ -203,7 +203,6 @@ Page({
let buf = new Uint8Array(str.match(/[\da-f]{2}/gi).map(function(h) { let buf = new Uint8Array(str.match(/[\da-f]{2}/gi).map(function(h) {
return parseInt(h, 16) return parseInt(h, 16)
})) }))
console.log("buffer", j, str, buf)
wx.writeBLECharacteristicValue({ wx.writeBLECharacteristicValue({
deviceId: deviceId, deviceId: deviceId,
serviceId: serviceId, serviceId: serviceId,