This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to get RSSI from a nRF52832 beacon using nRF52

Hello everyone,

I just started learning BLE. I want to develop an application that gets RSSI from a beacon and displays the magnitude of RSSI using 4 built-in LEDs.

     Beacon            |     Scanner(nRF52840)

-100 ~ -80 dBm    = no leds lit up

-80 ~ -60 dBm     = LED1 lit up

-60 ~ -40 dBm     = LED1, LED2 lit up

-80 ~ -20 dBm     = LED1, LED2, LED3 lit up

-20dBm ~            = LED1, LED2, LED3, LED4 lit up

I am using nRF52832 as a beacon flashed with ble_app_beacon example.

And I have another nRF52840 board for scanning the advertisement data.

But where should I get the RSSI? I feel kinda lost where to start. Please help me