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

[advertising stop]

Hi all,

Someone can give me a information about the difference between function uint32_t err_code = sd_ble_gap_adv_stop(); and stop the advertising with using the timeout that put the state machine to ADV_MODE_SLOW and after in IDLE_MODE when arrive the GAP_EVT_TIMEOUT ( i use a gls example).

Because i don't understand how when the a BLE_ADV_EVT_IDLE is send the advertising stopped. how Does work it?

If i use a sd_ble_gap_adv_stop, is there a way to stopped the EVT_TIMEOUT? Thanks, Anna

Related