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

Extended advertising - RSSI and channel for ADV_EXT_IND

Hi,

I use nRF52840 DK with SoftDevice 140 v.7.0.1 and SDK 16.0.0.

I want to get RSSI information (along with channel index) for BLE extended advertisements.

I enabled extended advertisement scanning and I can successfully get information about RSSI and channel from event BLE_GAP_EVT_ADV_REPORT 

p_gap_evt->params.adv_report.ch_index

p_gap_evt->params.adv_report.rssi

but all the time when I receive BLE_GAP_EVT_ADV_REPORT event, the adv_report is for the packet sent over secondary channel.

I would like to get RSSI and channel information also for the ADV_EXT_IND which is sent over primary channel. I believe it is enabled with report_incomplete_evts in ble_gap_scan_params_t, but description says that this is not supported on that SoftDevice.

Here are links to similar topics, but those remain unanswered 

https://devzone.nordicsemi.com/f/nordic-q-a/45360/is-it-possible-to-get-the-rssi-of-adv_ext_ind

https://devzone.nordicsemi.com/f/nordic-q-a/53141/ble_gap_scan_params_t-report_incomplete_evts-1

If it is not possible to use report_incomplete_evts, can I get RSSI and channel information for ADV_EXT_IND in any different way?

Parents Reply
  • Is possible to set it somewhere that certain part of data (max 31 bytes) is sent in primary adv and the rest is sent in extended adv?

    I set data in sd_ble_gap_adv_set_configure, I believe I don't have control over how data is splitted or if it is even splitted.

    I can try with different payload lengths to see what happens, but I expect that I will still get only the final ADV_REPORT containing all data combined.

Children
Related