I am using S120 SoftDevice on PCA10001 board with sdk7. I want to know on which channel i am receiving advertisement packets.
Is there any API on Central/Observer to which channel it receives advertisement packets.
I am using S120 SoftDevice on PCA10001 board with sdk7. I want to know on which channel i am receiving advertisement packets.
Is there any API on Central/Observer to which channel it receives advertisement packets.
Hi,
The SoftDevice will scan all three advertising channels, and there is no API to get the channel where the advertisement packet was received on. The information that the SoftDevice gives you about the packet can be found in ble_gap_evt_adv_report_t.
Hi sara,
Unfortunately, the SoftDevice does not support scanning (central role) on specific channels. There is currently no plan to add this functionality, but it may change in the coming months. Note that you can specify the advertising channel when advertising (peripheral role) using ble_gap_adv_params_t::ble_gap_adv_ch_mask_t when you call sd_ble_gap_adv_start().
Hi sara,
Unfortunately, the SoftDevice does not support scanning (central role) on specific channels. There is currently no plan to add this functionality, but it may change in the coming months. Note that you can specify the advertising channel when advertising (peripheral role) using ble_gap_adv_params_t::ble_gap_adv_ch_mask_t when you call sd_ble_gap_adv_start().