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

How to get RSSI of central

HI 

I am using nrf52832 s132 sdk15.2 for my application development.

i have a question: my device is acting as peripheral. Is it possible to get RSSI value central device which are trying to connect my device?

if yes how to get RSSI value?

Thanks

Rekha

Parents Reply
  • Hi i followed this:

    enable "scan req notification" in ble_advertising_start function of ble_advertising.c.

            case BLE_ADV_MODE_FAST:
                p_advertising->adv_params.scan_req_notification = 1; 
                ret = set_adv_mode_fast(p_advertising, &p_advertising->adv_params);
                break;

    Due to memset, your code for notification goes back to null.

    is it wrong?

    i verified it i am able to get the RSSI before connection.

    Thanks

Children
Related