收藏
回答

writeBLECharacteristicValue

getBLEDeviceServices 获取

device services: [{"uuid":"49535343-FE7D-4AE5-8FA9-9FAFD205E455","isPrimary":true},{"uuid":"000018F0-0000-1000-8000-00805F9B34FB","isPrimary":true},{"uuid":"E7810A71-73AE-499D-8C15-FAA9AEF0C3F2","isPrimary":true},{"uuid":"0000FFE0-0000-1000-8000-00805F9B34FB","isPrimary":true},{"uuid":"0000180A-0000-1000-8000-00805F9B34FB","isPrimary":true},{"uuid":"00001800-0000-1000-8000-00805F9B34FB","isPrimary":true},{"uuid":"00001801-0000-1000-8000-00805F9B34FB","isPrimary":true}]

是成功的 但是在 writeBLECharacteristicValue   就会fail 报错 10004==getBLEDeviceServices:fail:no service 


最后一次编辑于  2018-10-16  (未经腾讯允许,不得转载)
邀请回答
复制链接收藏投诉关注问题回答

1 个回答

  • nickname
    nickname
    2018-10-16

    麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)

    2018-10-16
    赞同
    回复