nRF Connect SDK API 2.8.99
|
uint8_t ble_peer_event::reason |
Reason code related to state of the Bluetooth LE peer. The field is used only for PEER_STATE_CONN_FAILED (error code related to connection establishment failure), PEER_STATE_DISCONNECTING, PEER_STATE_DISCONNECTED (disconnection reason). Other peer states do not use this field and set the value to zero.