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

Interaction between sd_ble_gap_adv_start and sd_ble_gap_scan_start?

Hi everyone,

I'm using a custom wrapper (github.com/.../arduino-BLEPeripheral) with softdevice S130 v2.0.1. I've extended the wrapper to allow simultaneous advertising and scanning, by calling both sd_ble_gap_adv_start and sd_ble_gap_scan_start.

This works as intended, but I was wondering how the two calls interact, particularly regarding timing. For example, if I would set scanInterval and scanWindow to equal values, the radio should be listening for 100% of the time, and no timeslice would be left for advertising? Or does the softdevice handle this case internally?

Thanks, Florian

Related