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.
Hello Sigurd, refer to the link [https://devzone.nordicsemi.com/question/49420/scan-in-a-single-channel/]
Does it mean that it can't get the channel where the advertisement packets was received on, but it can ONLY scan on the specific channel? Although I still don't know what the channel is scanned in the sample code from that link.
Thanks again.
Hello Sigurd, refer to the link [https://devzone.nordicsemi.com/question/49420/scan-in-a-single-channel/]
Does it mean that it can't get the channel where the advertisement packets was received on, but it can ONLY scan on the specific channel? Although I still don't know what the channel is scanned in the sample code from that link.
Thanks again.