nRF51 SDK: ble_evt_t Struct Reference

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

- Data Structures
- Data Structure Index
- Data Fields

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_evt_t Struct Reference
Events, type definitions and API calls | Structures | Events, type definitions and API calls

Common BLE Event type, wrapping the module specific event reports. More...

`#include <ble.h>`

## Data Fields

ble_evt_hdr_t | header
union {
ble_common_evt_t common_evt
ble_gap_evt_t gap_evt
ble_l2cap_evt_t l2cap_evt
ble_gattc_evt_t gattc_evt
ble_gatts_evt_t gatts_evt
} | evt
union {
ble_common_evt_t common_evt
ble_gap_evt_t gap_evt
ble_l2cap_evt_t l2cap_evt
ble_gattc_evt_t gattc_evt
ble_gatts_evt_t gatts_evt
} | evt
union {
ble_common_evt_t common_evt
ble_gap_evt_t gap_evt
ble_l2cap_evt_t l2cap_evt
ble_gattc_evt_t gattc_evt
ble_gatts_evt_t gatts_evt
} | evt

## Detailed Description

Common BLE Event type, wrapping the module specific event reports.

## Field Documentation

ble_common_evt_t ble_evt_t::common_evt

Common Event, evt_id in BLE_EVT_* series.

ble_gap_evt_t ble_evt_t::gap_evt

GAP originated event, evt_id in BLE_GAP_EVT_* series.

ble_gattc_evt_t ble_evt_t::gattc_evt

GATT client originated event, evt_id in BLE_GATTC_EVT* series.

ble_gatts_evt_t ble_evt_t::gatts_evt

GATT server originated event, evt_id in BLE_GATTS_EVT* series.

ble_evt_hdr_t ble_evt_t::header

Event header.

ble_l2cap_evt_t ble_evt_t::l2cap_evt

L2CAP originated event, evt_id in BLE_L2CAP_EVT* series.