Go to the documentation of this file.
48 #ifndef __BLE_EVENT_H__
49 #define __BLE_EVENT_H__
63 #define BLE_COMMON_EVT_BASE 0x0100
64 #define BLE_GAPM_EVT_BASE 0x0200
65 #define BLE_GAPC_EVT_BASE 0x0300
66 #define BLE_GATTS_EVT_BASE 0x0400
67 #define BLE_GATTC_EVT_BASE 0x0500
68 #define BLE_GATT_COMMON_EVT_BASE 0x0600
69 #define BLE_SEC_EVT_BASE 0x0700
70 #define BLE_L2CAP_EVT_BASE 0x0800
@ BLE_GAPM_EVT_PRIVACY_MODE_SET
BLE_GAPM_EVTS
BLE GAP Managerment Events.
@ BLE_GAPM_EVT_SCAN_REQUEST
#define BLE_GAPM_EVT_BASE
@ BLE_GATTS_EVT_PREP_WRITE_REQUEST
@ BLE_GAPC_EVT_CONN_INFO_GOT
@ BLE_GATTC_EVT_WRITE_RSP
@ BLE_GATT_COMMON_EVT_MAX
@ BLE_GAPM_EVT_ADV_REPORT
ble_l2cap_evt_t l2cap_evt
@ BLE_GAPC_EVT_DISCONNECTED
@ BLE_GATT_COMMON_EVT_MTU_EXCHANGE
BLE_GATT_COMMON_EVTS
BLE GATT Common Events.
#define BLE_L2CAP_EVT_BASE
ble_gatts_evt_t gatts_evt
BLE L2cap event structure.
@ BLE_GATTS_EVT_WRITE_REQUEST
@ BLE_GAPC_EVT_CONN_PARAM_UPDATED
@ BLE_SEC_EVT_LINK_ENCRYPTED
@ BLE_L2CAP_EVT_ADD_CREDITS_CPLT
BLE_L2CAP_EVTS
BLE L2CAP Events.
@ BLE_GAPM_EVT_PER_ADV_LIST_SET
#define BLE_GATT_COMMON_EVT_BASE
#define BLE_GAPC_EVT_BASE
@ BLE_GAPC_EVT_PEER_INFO_GOT
BLE GAPM event structure.
BLE_GATTC_EVTS
BLE GATTC Events.
@ BLE_GAPM_EVT_LEPSM_UNREGISTER
@ BLE_SEC_EVT_KEY_MISSING
@ BLE_GATT_COMMON_EVT_PRF_REGISTER
@ BLE_GATTS_EVT_CCCD_RECOVERY
BLE_COMMON_EVTS
BLE Common Events.
@ BLE_GAPM_EVT_WHITELIST_SET
#define BLE_GATTS_EVT_BASE
@ BLE_GAPM_EVT_DEV_INFO_GOT
@ BLE_COMMON_EVT_STACK_INIT
@ BLE_GAPM_EVT_SYNC_ESTABLISH
BLE_GAPC_EVTS
BLE GAP Connection Control Events.
@ BLE_GATTC_EVT_CHAR_DESC_DISC
@ BLE_GATTC_EVT_PRIMARY_SRVC_DISC
@ BLE_L2CAP_EVT_ADD_CREDITS_IND
BLE_SEC_EVTS
BLE SEC Events.
#define BLE_COMMON_EVT_BASE
@ BLE_GAPC_EVT_CONN_PARAM_UPDATE_REQ
@ BLE_GAPM_EVT_ADV_DATA_UPDATE
BLE_GATTS_EVTS
BLE GATTS Events.
@ BLE_GAPM_EVT_SCAN_START
BLE GAPC event structure.
#define BLE_GATTC_EVT_BASE
@ BLE_GATTC_EVT_CHAR_DISC
BLE GATTS event structure.
@ BLE_SEC_EVT_KEY_PRESS_NTF
@ BLE_GATTC_EVT_INCLUDE_SRVC_DISC
@ BLE_GATTC_EVT_SRVC_BROWSE
@ BLE_SEC_EVT_LINK_ENC_REQUEST
@ BLE_GAPC_EVT_PHY_UPDATED
void(* ble_evt_handler_t)(const ble_evt_t *p_evt)
The BLE event handler type.
@ BLE_GAPC_EVT_CONNECT_CANCLE
@ BLE_GAPC_EVT_AUTO_CONN_TIMEOUT
ble_gattc_evt_t gattc_evt
@ BLE_GATTS_EVT_READ_REQUEST
@ BLE_GAPM_EVT_READ_RSLV_ADDR
@ BLE_GAPM_EVT_CH_MAP_SET
BLE Security event structure.
@ BLE_GAPC_EVT_PEER_NAME_GOT
@ BLE_L2CAP_EVT_DISCONNECTED
@ BLE_GAPC_EVT_DATA_LENGTH_UPDATED
@ BLE_GAPM_EVT_LEPSM_REGISTER
ble_gatt_common_evt_t gatt_common_evt
BLE GATTC event structure.