I'm trying to regularly change some advertising parameters (ble_gap_adv_params_t.type
). The only way i can see to do so, is by stopping and starting advertising.
However, I noticed that stopping advertising (sd_ble_gap_adv_stop()
) takes about 5-30ms.
I didn't expect this call to be blocking and take this long.
Are there any suggestions as to how to update the parameters in a quicker way?