Tx Power、Rx Power 和 RSSI 命令
我在 Bluez.org 和 Android 开发者论坛上进行了广泛的研究,http:// /developer.android.com/resources/community-groups.html 但是无法找到我正在寻找的解决方案。
有人可以帮我找出修改 TX Power 值的命令是什么,并获取接收功率(RX Power)和 RSSI 的值。
非常欣赏。
达乌德
I have a looked far and wide, on the Bluez.org and Android developer forum, http://developer.android.com/resources/community-groups.html however have been unable to find the solution to what I am looking for.
Could someone please assist me to find out what are the commands to modify the Values of TX Power, and get the valued of Received Power (RX Power) and RSSI.
Much Appreciate it.
Daud
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有标准或公共 API 来设置发射功率,通常该接口由蓝牙芯片供应商通过自定义驱动程序 API 提供,以便能够设置设备的最大发射功率。
对于 RSSI,您可以从设备发现中获取此值 - 在 android ACTION_FOUND 意图中具有 android.bluetooth.device.extra.RSSI,它可以包含远程设备的 RSSI。
There are no standard or Public APIs to set the transmit power, typically the interface is given by the Bluetooth chip vendor via custom driver APIs to be able to set the maximum transmit power of a device.
For the RSSI you can get this value from device discovery - In android ACTION_FOUND intent has android.bluetooth.device.extra.RSSI which can contain RSSI for the remote device.