Skip to main content
Nir1
Associate
Jul 13, 2021 7:32 AM UTC
Solved

Hi. How can i read the RSSI of BLE connection inside the program (not with external tool)?

..

This topic has been closed for replies.
Remi QUINTIN
Remi QUINTINBest answer
ST Technical Moderator
Jul 16, 2021 8:58 AM UTC

The RSSI is part of the advertising packet received from the BLE stack. See the picture detailing the advertising packet structure.

The RSSI is the Tx Power level. You can check the AD type and the RSSI value is the data next to it.

You can also read this information using the command HCI_READ_RSSI (see AN5270).

1 reply

Remi QUINTIN
Remi QUINTINBest answer
ST Technical Moderator
Jul 16, 2021 8:58 AM UTC

The RSSI is part of the advertising packet received from the BLE stack. See the picture detailing the advertising packet structure.

The RSSI is the Tx Power level. You can check the AD type and the RSSI value is the data next to it.

You can also read this information using the command HCI_READ_RSSI (see AN5270).