BLE_GAP_EvtConnect_T
C
typedef struct BLE_GAP_EvtConnect_T { uint8_t status; uint16_t connHandle; uint8_t role; BLE_GAP_Addr_T remoteAddr; uint8_t localRpaAddr[GAP_MAX_BD_ADDRESS_LEN]; uint8_t remoteRpaAddr[GAP_MAX_BD_ADDRESS_LEN]; uint16_t interval; uint16_t latency; uint16_t supervisionTimeout; } BLE_GAP_EvtConnect_T;
Description
Structure for BLE_GAP_EVT_CONNECTED event.
Field Documentation
Field | Description |
---|---|
status | Connection status, as defined in Status definitions. |
connHandle | Connection handle associated with this connection. |
role | Role in the connection, as defined in Connection roles. |
remoteAddr | Bluetooth address of the remote device. See BLE_GAP_Addr_T for structure details.. |
localRpaAddr | Local Resolvable Private Address used, if privacy is enabled; otherwise, all zeros. |
remoteRpaAddr | Peer's Resolvable Private Address, if address resolution is successful; otherwise, all zeros. |
interval | Connection interval in use, in units of 1.25ms. |
latency | Peripheral latency for the connection in number of connection events. |
supervisionTimeout | Supervision timeout for the connection, in units of 10ms. |