Bluetooth RSSI measurement during discovery
Can the RSSI of a BT device be measured during discovery, i.e. before pairing? If so, how to do it in Android?
开发者_如何学运维Thanks
Yes you can get the RSSI for the device discovered , See this
Not possible for a standard Android program: you have no visibility into non-paired devices from a non-system APK.
If you are on a rooted device and have the appropriate permission you can access the dbus socket used by the bluetooth subsystem and that information is available through the bluez api.
精彩评论