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

Using ble_advertising_start() to transition from slow to fast advertising fails with NRF_ERROR_INVALID_STATE

Under some conditions I want to force advertising to transition from slow to fast. With SDK 14, I could just call ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST), but with SDK 15, that returns NRF_ERROR_INVALID_STATE.

I see that there are some other support cases from people trying to change the advertising data, getting an invalid state error apparently because they have to change to a new buffer or something. I'm not trying to change any of the advertising data, just change from slow back to fast advertising. Is there something I can do to avoid the dreaded invalid state error?

Parents Reply Children
No Data
Related