wx.notifyBLECharacteristicValueChange,小程序去调用 wx.notifyBLECharacteristicValueChange开启蓝牙广播会报errCode: 10008
errMsg: "notifyBLECharacteristicValueChange:fail set notify failed. deviceID = 58E8FEE5-6588-C6C9-EEC2-39D212C39CA9, serviceID = 1B7E8251-2877-41C3-B46E-CF057C562023, characteristicID = ACA0EF7C-EEAA-48AD-9508-19A6CEF6B356, errMsg = The attribute could not be found."
errno: 1500104。使用wx.getBLEDeviceCharacteristics获取到的设备的特征值读写以及notify都是true,但是会报上面的错,小程序调用 wx.notifyBLECharacteristicValueChange报errCode: 10008
errMsg: "notifyBLECharacteristicValueChange:fail set notify failed. deviceID = 58E8FEE5-6588-C6C9-EEC2-39D212C39CA9, serviceID = 1B7E8251-2877-41C3-B46E-CF057C562023, characteristicID = ACA0EF7C-EEAA-48AD-9508-19A6CEF6B356, errMsg = The attribute could not be found."
errno: 1500104。设备的特征值读写以及notify都是true
请问楼主有解决吗? 我安卓调用此方法正常 用IOS就不行了 也是10008 错误信息是:
{errCode: 10008, errno: 1500104, errMsg: "notifyBLECharacteristicValueChange:fail set notify failed. deviceID = E9576A4F-1F51-BD8E-DAEA-0CF87E25CDB9, serviceID = 0000FFE0-0000-1000-8000-00805F9B34FB, characteristicID = 0000FFE1-0000-1000-8000-00805F9B34FB, errMsg = Writing is not permitted."}
我也是这样,楼主解决了吗?