开发者

Commands for Tx Power, Rx Power and RSSI

开发者 https://www.devze.com 2023-03-19 12:03 出处:网络
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 look

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 V开发者_运维问答alues of TX Power, and get the valued of Received Power (RX Power) and RSSI.

Much Appreciate it.

Daud


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消