Hello, I am trying out my pca10028 board, with s110 and my updated ble_app_uart expample. I am trying to detect a link loss: board advertises as peripheral connects with android device.
After they connect bluetooth is being turned off in the android. In this situation disconnection was detected immediately.
Next procedure was to turn off the android device while in connection. In keil debugger I saw that connection event happens only ~30 seconds after. As I read the questions in the thread I came across answers that firmware detects it automatically and leads to BLE_GAP_EVT_DISCONNECTED
event. I am lost at this point. Should I implement link-loss service in my code? Is it set by the the master device? How to reduce this time? How to detect link loss in peripheral?
I have tried to explain the situation in a non highly detailed way. If there is lack of infomartion, please let me know. Thank you.