Reading RSSI value of connected BLE device on Android App

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hello,

   

I have been working on a BLE project with the CY8CKIT-042-BLE Pioneer Kit, and now I am in the process of making an Android Application. I would like to know if it's possible to read the RSSI value of a device after connecting to it.

   

I know that you can read the RSSI when scanning for devices, but once you connect to one of them, I didn't see an option to get its RSSI.

   

In the CySmart App there is no indication of the RSSI once you connect to the device.

   

Is the solution in the Android Studio code? Or perhaps you could send the RSSI as a characteristic with notifications?

   

Thanks in advance,

   

Yosef

0 Likes
1 Solution
HeLi_263931
Level 8
Level 8
100 solutions authored 50 solutions authored 25 solutions authored

The Android BluetoothGatt class has a readRemoteRssi method: http://developer.android.com/reference/android/bluetooth/BluetoothGatt.html#readRemoteRssi%28%29 . Just call it regularly and define the callback.

View solution in original post

0 Likes
4 Replies