Hi,
My application returns ERROR 8 [NRF_ERROR_INVALID_STATE] after I click disconnect in the app "nRF connect for mobile" .This error is returned by "ble_advertising_start' function. I think it may because after disconnection, it tries to start to advertise but fails. I check the function "ble_advertising_start", it says that if the p_advertising->initialized == false then will return this error code. However, the advertising and connection is OK after I reset it.
Could you please help me with this?
Thanks a lot!
Taoyi Wang