蓝牙API搜不到设备
使用蓝牙API无法扫描到周边蓝牙设备,请问那里弄错了,或者漏了吗? 操作步骤如下 1. wx.openBluetoothAdapter 返回 {openBluetoothAdapter:ok} 2. wx.getBluetoothAdapterState 返回 { available: true, discovering: false, getBluetoothAdapterState: ok } 3. wx.startBluetoothDevicesDiscovery 返回 { available: true, isDiscovering: true, startBluetoothDevicesDiscovery: ok } 4. wx.onBluetoothAdapterStateChange 返回 { available: true, discovering: true } 5. wx.getBluetoothDevices 返回 { getBluetoothDevices: ok, devices: [] } 6. wx.getBluetoothAdapterState 返回 { available: true, discovering: false, getBluetoothAdapterState: ok }