获取不到蓝牙设备
发布于 6 年前 作者 taoxiong 14307 次浏览 来自 问答

使用getBluetoothDevices获取蓝牙设备,成功获取蓝牙设备,但devices为空

7 回复

搜索不到蓝牙设备,但是用系统自带的蓝牙可以搜索到其他的蓝牙设备

还得监听扫描。

onBluetoothAdapterStateChange

openBluetoothAdapter

startBluetoothDevicesDiscovery

onBluetoothDeviceFound

谢谢!研究一下

是这样吗!这样话结果还是一样的

{“errMsg”:“getBluetoothDevices:ok”,“devices”:[]}

回到顶部