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

Nordic controller is not receveing the ble disconnect event from the ble android application som times if i kill the app?reproducability 1 out of 20.

I am using nrf52832 peripheral and ble central with some android application .if an app opens it we get ble disconnect event and if we kill the app ble_disconect will come to the nordic board.it is working normally in most cases.if we forcefully kill the application when app was getting opened for n number of times the nordic controller  some times not receiving the ble disconnect event and controller board is still in connected state.Now if i kill the app since nordic is in  connected state and the peripheral is not visible to the android application. The nordic is coming out of connection state only after bluetooth was turn off.(android is throwing ble disconnect event when disconnect but which is blocking its reach to nordic board or it is problem with nordic internal code)

Parents Reply
  • In my case nordic  was in connected state even if app was killed reason is i have not received a ble_disconnect event. and now if off the bluetooth only then only we are able to connect again to the tablet.

    I am using hrs rtos code.

    why the nordic is not disconnecting even they are not exchanging the data means even after after time out of 4 sec.

    what exactly the role of the supervisor time out?

Children
Related