- 当前 Bug 的表现
wx.writeBLECharacteristicValue失败后不执行complete回调函数
- 复现 Demo
let buffer = new ArrayBuffer(6)
wx.writeBLECharacteristicValue({
deviceId: 'deviceId',
serviceId: 'serviceId',
characteristicId: 'characteristicId',
value: buffer,
success: (res) => {
},
fail: (err) => {
console.log(err)
},
complete:(res)=>{
console.log('complete')
}
})
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
就在上面,复制一下就好了
请按正确格式提供代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)