8电极无SDK蓝牙连接demo
This commit is contained in:
parent
13b55836be
commit
37a3190746
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue