收藏
回答

wx.notifyBLECharacteristicValueChange报10008?

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

回答关注问题邀请回答
收藏

2 个回答

  • 螺旋电钻小狗头
    螺旋电钻小狗头
    2天前

    请问楼主有解决吗? 我安卓调用此方法正常 用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."}


    2天前
    有用
    回复
  • Sun
    Sun
    12-04

    我也是这样,楼主解决了吗?

    12-04
    有用
    回复
登录 后发表内容