Enumerations
Enumerations
BLE » BLE Event

## Enumerations
enum | BLE_COMMON_EVTS { BLE_COMMON_EVT_STACK_INIT = BLE_COMMON_EVT_BASE, BLE_COMMON_EVT_MAX }
| BLE Common Events. More...
enum | BLE_GAPM_EVTS { BLE_GAPM_EVT_CH_MAP_SET = BLE_GAPM_EVT_BASE, BLE_GAPM_EVT_WHITELIST_SET, BLE_GAPM_EVT_PER_ADV_LIST_SET, BLE_GAPM_EVT_PRIVACY_MODE_SET, BLE_GAPM_EVT_LEPSM_REGISTER, BLE_GAPM_EVT_LEPSM_UNREGISTER, BLE_GAPM_EVT_DEV_INFO_GOT, BLE_GAPM_EVT_ADV_START, BLE_GAPM_EVT_ADV_STOP, BLE_GAPM_EVT_SCAN_REQUEST, BLE_GAPM_EVT_ADV_DATA_UPDATE, BLE_GAPM_EVT_SCAN_START, BLE_GAPM_EVT_SCAN_STOP, BLE_GAPM_EVT_ADV_REPORT, BLE_GAPM_EVT_SYNC_ESTABLISH, BLE_GAPM_EVT_SYNC_STOP, BLE_GAPM_EVT_SYNC_LOST, BLE_GAPM_EVT_READ_RSLV_ADDR, BLE_GAPM_EVT_MAX }
| BLE GAP Managerment Events. More...
enum | BLE_GAPC_EVTS { BLE_GAPC_EVT_PHY_UPDATED = BLE_GAPC_EVT_BASE, BLE_GAPC_EVT_CONNECTED, BLE_GAPC_EVT_DISCONNECTED, BLE_GAPC_EVT_CONNECT_CANCLE, BLE_GAPC_EVT_AUTO_CONN_TIMEOUT, BLE_GAPC_EVT_CONN_PARAM_UPDATED, BLE_GAPC_EVT_CONN_PARAM_UPDATE_REQ, BLE_GAPC_EVT_PEER_NAME_GOT, BLE_GAPC_EVT_CONN_INFO_GOT, BLE_GAPC_EVT_PEER_INFO_GOT, BLE_GAPC_EVT_DATA_LENGTH_UPDATED, BLE_GAPC_EVT_MAX }
| BLE GAP Connection Control Events. More...
enum | BLE_GATT_COMMON_EVTS { BLE_GATT_COMMON_EVT_MTU_EXCHANGE = BLE_GATT_COMMON_EVT_BASE, BLE_GATT_COMMON_EVT_PRF_REGISTER, BLE_GATT_COMMON_EVT_MAX }
| BLE GATT Common Events. More...
enum | BLE_GATTS_EVTS { BLE_GATTS_EVT_READ_REQUEST = BLE_GATTS_EVT_BASE, BLE_GATTS_EVT_WRITE_REQUEST, BLE_GATTS_EVT_PREP_WRITE_REQUEST, BLE_GATTS_EVT_NTF_IND, BLE_GATTS_EVT_CCCD_RECOVERY, BLE_GATTS_EVT_MAX }
| BLE GATTS Events. More...
enum | BLE_GATTC_EVTS { BLE_GATTC_EVT_SRVC_BROWSE = BLE_GATTC_EVT_BASE, BLE_GATTC_EVT_PRIMARY_SRVC_DISC, BLE_GATTC_EVT_INCLUDE_SRVC_DISC, BLE_GATTC_EVT_CHAR_DISC, BLE_GATTC_EVT_CHAR_DESC_DISC, BLE_GATTC_EVT_READ_RSP, BLE_GATTC_EVT_WRITE_RSP, BLE_GATTC_EVT_NTF_IND, BLE_GATTC_EVT_MAX }
| BLE GATTC Events. More...
enum | BLE_SEC_EVTS { BLE_SEC_EVT_LINK_ENC_REQUEST = BLE_SEC_EVT_BASE, BLE_SEC_EVT_LINK_ENCRYPTED, BLE_SEC_EVT_LTK_REQ, BLE_SEC_EVT_KEY_PRESS_NTF, BLE_SEC_EVT_KEY_MISSING, BLE_SEC_EVT_MAX }
| BLE SEC Events. More...
enum | BLE_L2CAP_EVTS { BLE_L2CAP_EVT_CONN_REQ = BLE_L2CAP_EVT_BASE, BLE_L2CAP_EVT_CONN_IND, BLE_L2CAP_EVT_ADD_CREDITS_IND, BLE_L2CAP_EVT_DISCONNECTED, BLE_L2CAP_EVT_SDU_RECV, BLE_L2CAP_EVT_SDU_SEND, BLE_L2CAP_EVT_ADD_CREDITS_CPLT, BLE_L2CAP_EVT_MAX }
| BLE L2CAP Events. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ BLE_COMMON_EVTS

enum BLE_COMMON_EVTS

BLE Common Events.

Enumerator
BLE_COMMON_EVT_STACK_INIT | BLE Stack init complete event.
BLE_COMMON_EVT_MAX |

Definition at line 81 of file ble_event.h.

## ◆ BLE_GAPC_EVTS

enum BLE_GAPC_EVTS

BLE GAP Connection Control Events.

Enumerator
BLE_GAPC_EVT_PHY_UPDATED | PHY Update event.
BLE_GAPC_EVT_CONNECTED | Connected event.
BLE_GAPC_EVT_DISCONNECTED | Disconnected event.
BLE_GAPC_EVT_CONNECT_CANCLE | Connect Cancle event.
BLE_GAPC_EVT_AUTO_CONN_TIMEOUT | Auto Connect Timeout event.
BLE_GAPC_EVT_CONN_PARAM_UPDATED | Connect Parameter Updated event.
BLE_GAPC_EVT_CONN_PARAM_UPDATE_REQ | Connect Parameter Request event.
BLE_GAPC_EVT_PEER_NAME_GOT | peer Name Get event.
BLE_GAPC_EVT_CONN_INFO_GOT | Connect Info Get event.
BLE_GAPC_EVT_PEER_INFO_GOT | Peer Info Get event.
BLE_GAPC_EVT_DATA_LENGTH_UPDATED | Data Length Updated event.
BLE_GAPC_EVT_MAX |

Definition at line 112 of file ble_event.h.

## ◆ BLE_GAPM_EVTS

enum BLE_GAPM_EVTS

BLE GAP Managerment Events.

Enumerator
BLE_GAPM_EVT_CH_MAP_SET | Channel Map Set complete event.
BLE_GAPM_EVT_WHITELIST_SET | Whitelist Set complete event.
BLE_GAPM_EVT_PER_ADV_LIST_SET | Periodic Advertising List Set complete event.
BLE_GAPM_EVT_PRIVACY_MODE_SET | Privacy Mode for Peer Device Set complete event.
BLE_GAPM_EVT_LEPSM_REGISTER | LEPSM Register complete event.
BLE_GAPM_EVT_LEPSM_UNREGISTER | LEPSM Unregister complete event.
BLE_GAPM_EVT_DEV_INFO_GOT | Device Info Get event.
BLE_GAPM_EVT_ADV_START | Advertising Start complete event.
BLE_GAPM_EVT_ADV_STOP | Advertising Stop complete event.
BLE_GAPM_EVT_SCAN_REQUEST | Scan Request event.
BLE_GAPM_EVT_ADV_DATA_UPDATE | Advertising Data update event.
BLE_GAPM_EVT_SCAN_START | Scan Start complete event.
BLE_GAPM_EVT_SCAN_STOP | Scan Stop complete event.
BLE_GAPM_EVT_ADV_REPORT | Advertising Report event.
BLE_GAPM_EVT_SYNC_ESTABLISH | Periodic Advertising Synchronization Establish event.
BLE_GAPM_EVT_SYNC_STOP | Periodic Advertising Synchronization Stop event.
BLE_GAPM_EVT_SYNC_LOST | Periodic Advertising Synchronization Lost event.
BLE_GAPM_EVT_READ_RSLV_ADDR | Read Resolvable Address event.
BLE_GAPM_EVT_MAX |

Definition at line 88 of file ble_event.h.

## ◆ BLE_GATT_COMMON_EVTS

enum BLE_GATT_COMMON_EVTS

BLE GATT Common Events.

Enumerator
BLE_GATT_COMMON_EVT_MTU_EXCHANGE | MTU Exchange event.
BLE_GATT_COMMON_EVT_PRF_REGISTER | Service Register event.
BLE_GATT_COMMON_EVT_MAX |

Definition at line 129 of file ble_event.h.

## ◆ BLE_GATTC_EVTS

enum BLE_GATTC_EVTS

BLE GATTC Events.

Enumerator
BLE_GATTC_EVT_SRVC_BROWSE | GATTC Service Browse event .
BLE_GATTC_EVT_PRIMARY_SRVC_DISC | GATTC Primary Service Discovery event .
BLE_GATTC_EVT_INCLUDE_SRVC_DISC | GATTC Include Service Discovery event .
BLE_GATTC_EVT_CHAR_DISC | GATTC Characteristic Discovery event .
BLE_GATTC_EVT_CHAR_DESC_DISC | GATTC Characteristic Descriptor Discovery event .
BLE_GATTC_EVT_READ_RSP | GATTC Read Response event.
BLE_GATTC_EVT_WRITE_RSP | GATTC Write Response event.
BLE_GATTC_EVT_NTF_IND | GATTC Notify or Indicate Receive event.
BLE_GATTC_EVT_MAX |

Definition at line 148 of file ble_event.h.

## ◆ BLE_GATTS_EVTS

enum BLE_GATTS_EVTS

BLE GATTS Events.

Enumerator
BLE_GATTS_EVT_READ_REQUEST | GATTS Read Request event .
BLE_GATTS_EVT_WRITE_REQUEST | GATTS Write Request event .
BLE_GATTS_EVT_PREP_WRITE_REQUEST | GATTS Prepare Write Request event .
BLE_GATTS_EVT_NTF_IND | GATTS Notify or Indicate Complete event .
BLE_GATTS_EVT_CCCD_RECOVERY | GATTS CCCD Recovery event .
BLE_GATTS_EVT_MAX |

Definition at line 137 of file ble_event.h.

## ◆ BLE_L2CAP_EVTS

enum BLE_L2CAP_EVTS

BLE L2CAP Events.

Enumerator
BLE_L2CAP_EVT_CONN_REQ | L2cap Connect Request event.
BLE_L2CAP_EVT_CONN_IND | L2cap Connected Indicate event.
BLE_L2CAP_EVT_ADD_CREDITS_IND | L2cap Credits Add Indicate event.
BLE_L2CAP_EVT_DISCONNECTED | L2cap Disconnected event.
BLE_L2CAP_EVT_SDU_RECV | L2cap SDU Receive event.
BLE_L2CAP_EVT_SDU_SEND | L2cap SDU Send event.
BLE_L2CAP_EVT_ADD_CREDITS_CPLT | L2cap Credits Add Completed event.
BLE_L2CAP_EVT_MAX |

Definition at line 173 of file ble_event.h.

## ◆ BLE_SEC_EVTS

enum BLE_SEC_EVTS

BLE SEC Events.

Enumerator
BLE_SEC_EVT_LINK_ENC_REQUEST | Link Encrypte Request event.
BLE_SEC_EVT_LINK_ENCRYPTED | Link Encrypted event.
BLE_SEC_EVT_LTK_REQ | LTK Request event.
BLE_SEC_EVT_KEY_PRESS_NTF | Key Press event.
BLE_SEC_EVT_KEY_MISSING | Key Missing event.
BLE_SEC_EVT_MAX |

Definition at line 162 of file ble_event.h.