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

BLE_GAP_EVT_DISCONNECTED never triggers

I have a peripheral that pairs to a central and establishes a connection (without bonding) without any trouble. When I disconnect the central (e.g. cutting power to the central), the peripheral never sees a BLE_GAP_EVT_DISCONNECTED event. I am checking for the event in on_ble_evt() just as the Nordic example code does.

Is this normal? How can the peripheral detect that link loss? I would like to be able to detect this so that I can resume advertising.

I'm using the nRF51822 S110 v8.0.0.

Parents Reply Children
No Data
Related