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

Finding RSSI value after connection continously

Hey

I am working on ble_app_blinky central and peripheral, I want to calculate the RSSI of peripheral after connection with central. I am able to calculate the RSSI value while it is scanning,

When I am trying to print the rssi in rtt from ble_event_handler in  main.c I am getting value as zero as shown below.

I have used these functions at same place 

sd_ble_gap_rssi_start(p_ble_evt->evt.gap_evt.conn_handle, 0 , 0);

sd_ble_gap_rssi_get(p_ble_evt->evt.gap_evt.conn_handle,&p_ble_evt->evt.gap_evt.params.rssi_changed.rssi,&p_ble_evt->evt.gap_evt.params.rssi_changed.ch_index);

even though i am getting zero for rssi value. Please help to sort this issue

regards

Sumanth

Parents
  • Hi Sumanth

    Yes, increasing the interval of an operation/adding operations will increase the current consumption somewhat (not by a huge amount). However to reduce the current consumption on your nRF chip, this post describes just about every way to do so. If possible I would look at enabling the DCDC converter, as that usually helps alot in current consumption reduction.

    Best regards,

    Simon

Reply
  • Hi Sumanth

    Yes, increasing the interval of an operation/adding operations will increase the current consumption somewhat (not by a huge amount). However to reduce the current consumption on your nRF chip, this post describes just about every way to do so. If possible I would look at enabling the DCDC converter, as that usually helps alot in current consumption reduction.

    Best regards,

    Simon

Children
No Data
Related