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

ble_advertising_restart_without_whitelist not working in SDK V10

I'm working on nrf51822 , Softdevice S110. I have implemented whitelist in my application its working fine. But ion some cases i need to disable the whitelist option ( because i need to connect any phone )so i use the API ble_advertising_restart_without_whitelist() but its not working and its getting an error code 8 ( NRF_ERROR_INVALID_STATE ). After calling this function also its advertising with whitelist request so i cannot connect other device only the peered devices. I have checked inside the function ble_advertising_restart_without_whitelist so i found that sd_ble_gap_adv_stop() is actually return this error. So i remove that function , now ble_advertising_restart_without_whitelist function is working .

Why ble_advertising_restart_without_whitelist function is not working happening ?

If i remove sd_ble_gap_adv_stop is there any other issue ?

Parents Reply Children
No Data
Related