【发布时间】:2021-06-08 05:26:51
【问题描述】:
我知道我可以使用BluetoothAdapter.startDiscovery() 发现新设备
IntentFilter(BluetoothDevice.ACTION_FOUND) 和 BroadcastReceiver。
并通过BluetoothAdapter.getBondedDevices()获取所有配对的蓝牙设备。
但如果我配对一个设备,我不知道它是否可以访问。
有没有办法让所有设备都在手机的范围内?我什至不需要BluetoothDevice 对象,我不会联系他们,我只想要他们的地址。
【问题讨论】:
标签: android bluetooth android-bluetooth