代码片段:
wx.openBluetoothAdapter
success: function (res) {
setTimeout(function () {
wx.startBluetoothDevicesDiscovery({
开启适配器(openBluetoothAdapter)成功后,延迟200ms执行startBluetoothDevicesDiscovery,返回成功时,再延迟200ms执行getBluetoothDevices,没有发现设备
测试机:荣耀v10
对比iPhone 6没有这个问题