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

nrf51-ble-driver_win_0.3.0: detecting dongle disconnection

When using the BLE device, BLE_GAP_EVT_DISCONNECTED event informs us that connection between dongle and BLE device was closed/lost.

Is there a way to know when dongle connection is lost? For instance if dongle is unplugged from the PC while BLE connection is in use.

If COM port is closed due to external event, I could not find how to be notified by nrf51-ble-driver_win_0.3.0 library to inform the user....

Related