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

sd_ble_gap_adv_stop() never returns.

Hi, I'm using the S110 v8.0 on a nrf51422 together with our own scheduler with a few lines left from SDK v8.1.

I'm sending out advertising containing some extra data and it works well. I can update the data in the advertising message on the fly, but when I try to turn off the advertising using sd_ble_gap_adv_stop() the function call never comes back from the SoftDevice.

Is this a known issue or am I using the commands wrong?

The code is still running but something in the SoftDevice will not end and return an answer to the application.

Related