In the blinky-central example, on_ble_evt()
switches over both BLE_GAP_EVT_DISCONNECTED
and BLE_GATTC_EVT_TIMEOUT
.
- Why is this required? Won't a client GATT timeout trigger a
BLE_GAP_EVT_DISCONNECTED
event anyway? - Why is
BLE_GATTS_EVT_TIMEOUT
(i.e. GATT server timeout) also checked?