获得过 0 次赞
回答过的问题获得 0 次赞
分享过的文章/案例获得 0 次赞
评论与回复获得 0 次赞
- 蓝牙API存在bug
wx.onBLEConnectionStateChanged: 安卓蓝牙连接状态改变会进这个回调,IOS不进 wx.getBLEDeviceServices: 用Nordic开发版测试,安卓和IOS都只能发现部分服务,例如,当硬件包含两个标准服务0x1800,0x1801和一个私有服务时,安卓只能发现两个标准服务0x1800,0x1801;IOS只能发现一个私有服务
2017-04-08 - wx.onBluetoothDeviceFound参数类型不统一
wx.onBluetoothDeviceFound(function(devices) { console.log(devices) } 打印devices 在Mac中devices=[object] 在iphone中devices={ devices : [object] } 在android中devices=object
2017-04-07