When I use sd_ble_gap_adv_start( ), sometimes get return value NRF_ERROR_BUSY . What's the meaning of this error No. ?
Maybe you trying to call sd_ble_gap_adv_start() when you already advertising and get this error?
Yes, but I call sd_ble_gap_adv_stop() before call sd_ble_gap_adv_start() again. Is there any problem? PS: I set m_adv_params.timeout = 1; so that the advertising should stopped after 1 second advertising, right?
What are you trying to do? Why are you calling sd_ble_gap_adv_stop() and where? Where are you calling sd_ble_gap_adv_start()?
I want to advertising after pushed a button, and only advertising 1 second. and I call sd_ble_gap_adv_stop() before sd_ble_gap_adv_start().
If I don't call sd_ble_gap_adv_stop() before sd_ble_gap_adv_start(), the error_code become NRF_ERROR_INVALID_STATE