The BLE_NUS_C_EVT_DISCONNECTED
of the ble_nus_c_evt_handler()
give a conn_handle = BLE_CONN_HANDLE_INVALID
. So it's not possible to know which peripheral got disconnected when multiple connections are allowed.
The BLE_NUS_C_EVT_DISCONNECTED
of the ble_nus_c_evt_handler()
give a conn_handle = BLE_CONN_HANDLE_INVALID
. So it's not possible to know which peripheral got disconnected when multiple connections are allowed.
Why BLE_NUS_C_EVT_DISCONNECTED doesn't give which peripheral got disconnected ?
Why BLE_NUS_C_EVT_DISCONNECTED doesn't give which peripheral got disconnected ?