1.2.2.1.1.3.16 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
Data structure for BLE_GAP_EVT_CONNECTED event.
Field Documentation
Field | Description |
---|---|
status | Status of this connection. |
connHandle | Connection handle associated with this connection. |
role | GAP role. See Connection role. |
remoteAddr | Remote bluetooth address. See BLE_GAP_Addr_T. |
localRpaAddr | Resolvable private address being used by the local device for this connection. This is only valid if local privacy enable, otherwise all zeros. |
remoteRpaAddr | Resolvable private address being used by the peer device for this connection. This is only valid if peer address is resolved by resolving list successfully, otherwise all zeros. |
interval | Connection interval used on this connection. Range should be Connection parameters range. |
latency | Peripheral latency for the connection in terms of number of connection events, see Connection parameters range. |
supervisionTimeout | Supervision timeout for the LE Link. See Connection parameters range. |