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

Channel index from advertisement when scanning in zephyr

Hello,

We are switching our firmware from the old sdk into the NRFConnect zephyr sdk and I cant see any way to retrieve the channel of the advert when scanning. We need this for machine learning powered positioning from advertising.

The original firmware used `ble_gap_evt_adv_report_t::ch_index` from ble_gap_evt_adv_report_t. Does zephyr have any equivalent in when using the nrfconnect sdk scan module 

Thanks,

Sam

  • Hi Sam,

    NCS advertising reports are limited to the information that is available in the LE(Extended) adv packet and there is no channel index in that event. BLE Core spec 5.2 Vol 4 part E, Section 7.7.65.13 ->LE Extended Advertising Report event.

    To be able to give application more info about the channel index in adv_report we need to add a vendor specific event which is not in the roadmap as of now. If you want this support, then please talk to the Regional Sales Manager Wendell ( [email protected])

Related