Simo
Simo

Reputation: 67

How to Get bluetooth signal strength (rssi) of connected bluetooth devices?

i want to get the bluetooth rssi of a another device which connected to my phone,

how can i get the bluetooth rssi?

i tried to search alot over stackoverflow/google and didnt find any answer, i found just the answer to get rssi of devices wich do not have any connection ! (Get bluetooth signal strength).

but i need the rssi of the connected devices !

can you help me please.

thanks alot

Upvotes: 1

Views: 3027

Answers (1)

Myon
Myon

Reputation: 957

I was also looking for a solution and found this:

You can use the readRemoteRssi() function of BluetoothGatt. This will cause an asynchronous call of your BluetoothGattCallback.onReadRemoteRssi

Upvotes: 2

Related Questions