BLE_GAP_EvtDisconnect_T

C

typedef struct BLE_GAP_EvtDisconnect_T
{
    uint16_t                connHandle;
    uint8_t                 reason;
} BLE_GAP_EvtDisconnect_T;

Description

Structure for the BLE_GAP_EVT_DISCONNECTED event.This event is triggered when a BLE connection is terminated.

Field Documentation

FieldDescription
connHandleConnection handle associated with this connection.
reasonReason for disconnection, as defined in GAP_STATUS.