API名称:wx.notifyBLECharacteristicValueChange
机型:IPhone XS Max
微信版本:8.0.41
系统:IOS 15.4.1
微信号:XINtt778
时间:2020.9.15 17:56
报错内容:The attribute could not be found
----------------------------------------------------------------------------------------------
机型:PHB110arm64-v8a
微信版本:8.0.40
系统:33
微信号:Designer_Andy
时间:2020.9.15 17:57
报错内容:notifyBLECharacteristicValueChange:fail:no descriptor
代码片段:https://developers.weixin.qq.com/s/FkqhZfmG7ULu
wx.notifyBLECharacteristicValueChange({
serviceId: that.data.serviceId,
characteristicId: that.data.characteristicId,
that.setData({motto1:'成功' + res.errMsg})
that.setData({ motto1: '失败' + res.errMsg })
参考下,希望对你有帮助:
https://developers.weixin.qq.com/community/develop/doc/000400d4710490f6801a6e89d56000