你好,请问解决了吗,这个是微信与鸿蒙的兼容问题还是什么
鸿蒙Next writeBLECharacteristicValue 返回10007错误?鸿蒙next 微信测试版1.0.2 ,蓝牙通信wx.writeBLECharacteristicValue(Object object)返回10007 property not support[图片] wx.writeBLECharacteristicValue({ deviceId:deviceId, serviceId:_this.BLE.connectedDevices[deviceId].serviceId, characteristicId:_this.BLE.connectedDevices[deviceId].writeCharacteristicsId, value: data, success (res) { //var value = ab2hex(data) //console.log('writeBLE', value) //发送成功,注册接收函数,等待接收 _this.BLE.connectedDevices[deviceId].data.state = 2//等待接收 if(typeof infocallback === "function") { infocallback(1) } }, fail(res){ if(typeof infocallback === "function") { infocallback(0) } console.log('writeBLECharacteristicValue fail',res) }, complete(res){ //console.log('writeBLECharacteristicValue', res) } })
01-16