Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试编写一个程序来读取连接到我的 android 2.0 手机的蓝牙设备的信号强度。除非是在发现过程中,否则似乎 android 无论如何都不会公开获取 RSSI。检测到设备后,还有其他方法可以获取设备的信号强度吗?我读到了一种使用 NDK 访问底层 BlueZ API 的方法,但我不知道如何使用它。任何帮助,将不胜感激。
不,仅在发现期间作为额外的捆绑包 ( EXTRA_RSSI)。
EXTRA_RSSI