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
微信小程序开发问题解答
微信小程序开发者回答:
麻烦提供能复现问题的代码片段(https://developers.weixin.qq.com/miniprogram/dev/devtools/minicode.html)
本文网址:http://www.91bianli.com/kaifazhinan/75109.html