Enumerations
Enumerations
BLE » BLE Event
Collaboration diagram for Enumerations:

## 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_RSLV_ADDR_REPORT, 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_DEV_INFO_SET, BLE_GAPC_EVT_CONNECT_IQ_REPORT, BLE_GAPC_EVT_CONNECTLESS_IQ_REPORT, BLE_GAPC_EVT_LOCAL_TX_POWER_READ, BLE_GAPC_EVT_REMOTE_TX_POWER_READ, BLE_GAPC_EVT_TX_POWER_CHANGE_REPORT, BLE_GAPC_EVT_PATH_LOSS_THRESHOLD_REPORT, BLE_GAPC_EVT_RANGING_IND, BLE_GAPC_EVT_RANGING_SAMPLE_REPORT, BLE_GAPC_EVT_RANGING_CMP_IND, BLE_GAPC_EVT_DFT_SUBRATE_SET, BLE_GAPC_EVT_SUBRATE_CHANGE_IND, BLE_GAPC_EVT_MAX }
| BLE GAP Connection Control Events. More...
enum | { BLE_GATT_COMMON_EVT_MTU_EXCHANGE = BLE_GATT_COMMON_EVT_BASE, BLE_GATT_COMMON_EVT_PRF_REGISTER, BLE_GATT_COMMON_EVT_MAX, ISO_GPIO_MASK_0 = 0x1, ISO_GPIO_MASK_1 = 0x2, ISO_GPIO_MASK_2 = 0x4, ISO_GPIO_MASK_3 = 0x8, ISO_GPIO_MASK_4 = 0x10, ISO_GPIO_MASK_5 = 0x20, ISO_GPIO_MASK_6 = 0x40, ISO_GPIO_MASK_7 = 0x80, AMS_PLAYER_ATTR_ID_NAME, AMS_PLAYER_ATTR_ID_PLAYBACK_INFO, AMS_PLAYER_ATTR_ID_VOLUME, IAS_ALERT_NONE, IAS_ALERT_MILD, IAS_ALERT_HIGH, TRC_PWR_WFE_MODE = 0, TRC_PWR_DSLEEP_MODE, TRC_PWR_ACTIVE_MODE, TRC_PWR_BLE_RET_DSLEEP, TRC_PWR_APP_TIMER_REFUSE, TRC_PWR_APP_TIMER_PASS, TRC_PWR_BLE_TIMER_REFUSE, TRC_PWR_BLE_TIMER_PASS, TRC_PWR_RTC_TIMER_REFUSE, TRC_PWR_RTC_TIMER_PASS, TRC_PWR_RTC1_TIMER_REFUSE, TRC_PWR_RTC1_TIMER_PASS, TRC_PWR_WDT_TIMER_REFUSE, TRC_PWR_WDT_TIMER_PASS }
| 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_MULT_NTF, BLE_GATTS_EVT_ENH_READ_REQUEST, BLE_GATTS_EVT_ENH_WRITE_REQUEST, BLE_GATTS_EVT_ENH_PREP_WRITE_REQUEST, BLE_GATTS_EVT_ENH_NTF_IND, BLE_GATTS_EVT_ENH_CCCD_RECOVERY, BLE_GATTS_EVT_ENH_MULT_NTF, BLE_GATTS_EVT_DATABASE_INITED_IND, 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_CACHE_UPDATE, BLE_GATTC_EVT_ENH_SRVC_BROWSE, BLE_GATTC_EVT_ENH_PRIMARY_SRVC_DISC, BLE_GATTC_EVT_ENH_INCLUDE_SRVC_DISC, BLE_GATTC_EVT_ENH_CHAR_DISC, BLE_GATTC_EVT_ENH_CHAR_DESC_DISC, BLE_GATTC_EVT_ENH_READ_RSP, BLE_GATTC_EVT_ENH_WRITE_RSP, BLE_GATTC_EVT_ENH_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_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_ENH_CONN_REQ, BLE_L2CAP_EVT_ENH_CONN_IND, BLE_L2CAP_EVT_ENH_RECONFIG_CPLT, BLE_L2CAP_EVT_ENH_RECONFIG_IND, BLE_L2CAP_EVT_MAX }
| BLE L2CAP Events. More...

## Detailed Description

## Enumeration Type Documentation

## ◆ anonymous enum

anonymous enum

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 |
ISO_GPIO_MASK_0 |
ISO_GPIO_MASK_1 |
ISO_GPIO_MASK_2 |
ISO_GPIO_MASK_3 |
ISO_GPIO_MASK_4 |
ISO_GPIO_MASK_5 |
ISO_GPIO_MASK_6 |
ISO_GPIO_MASK_7 |
AMS_PLAYER_ATTR_ID_NAME | Player attribute index of name.
AMS_PLAYER_ATTR_ID_PLAYBACK_INFO | Player attribute index of playback information.
AMS_PLAYER_ATTR_ID_VOLUME | Player attribute index of volume.
IAS_ALERT_NONE | No alert.
IAS_ALERT_MILD | Mild alert.
IAS_ALERT_HIGH | High alert.
TRC_PWR_WFE_MODE | WFE mode.
TRC_PWR_DSLEEP_MODE | Deep sleep mode.
TRC_PWR_ACTIVE_MODE | Active mode.
TRC_PWR_BLE_RET_DSLEEP | BLE return deep sleep.
TRC_PWR_APP_TIMER_REFUSE | App timer refuse.
TRC_PWR_APP_TIMER_PASS | App timer pass.
TRC_PWR_BLE_TIMER_REFUSE | BLE timer refuse.
TRC_PWR_BLE_TIMER_PASS | BLE timer pass.
TRC_PWR_RTC_TIMER_REFUSE | RTC timer refuse.
TRC_PWR_RTC_TIMER_PASS | RTC timer pass.
TRC_PWR_RTC1_TIMER_REFUSE | RTC timer refuse.
TRC_PWR_RTC1_TIMER_PASS | RTC timer pass.
TRC_PWR_WDT_TIMER_REFUSE | AON WDT timer refuse.
TRC_PWR_WDT_TIMER_PASS | AON WDT timer pass.

Definition at line 142 of file ble_event.h.

## ◆ 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_DEV_INFO_SET | Device Info Set event.
BLE_GAPC_EVT_CONNECT_IQ_REPORT | Connection IQ Report info event.
BLE_GAPC_EVT_CONNECTLESS_IQ_REPORT | Connectionless IQ Report info event.
BLE_GAPC_EVT_LOCAL_TX_POWER_READ | Local transmit power read indication info event.
BLE_GAPC_EVT_REMOTE_TX_POWER_READ | Remote transmit power read indication info event.
BLE_GAPC_EVT_TX_POWER_CHANGE_REPORT | Transmit power change reporting info event.
BLE_GAPC_EVT_PATH_LOSS_THRESHOLD_REPORT | Path loss threshold reporting info event.
BLE_GAPC_EVT_RANGING_IND | Ranging indication event.
BLE_GAPC_EVT_RANGING_SAMPLE_REPORT | Ranging sample report event.
BLE_GAPC_EVT_RANGING_CMP_IND | Ranging complete indication event.
BLE_GAPC_EVT_DFT_SUBRATE_SET | Default subrate param set complete event.
BLE_GAPC_EVT_SUBRATE_CHANGE_IND | Subrate change indication event.
BLE_GAPC_EVT_MAX |

Definition at line 113 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_RSLV_ADDR_REPORT | Resolvable Address report event.
BLE_GAPM_EVT_MAX |

Definition at line 88 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_CACHE_UPDATE | GATTC Cache Update event.
BLE_GATTC_EVT_ENH_SRVC_BROWSE | GATTC Service Browse event .
BLE_GATTC_EVT_ENH_PRIMARY_SRVC_DISC | GATTC Primary Service Discovery event .
BLE_GATTC_EVT_ENH_INCLUDE_SRVC_DISC | GATTC Include Service Discovery event .
BLE_GATTC_EVT_ENH_CHAR_DISC | GATTC Characteristic Discovery event .
BLE_GATTC_EVT_ENH_CHAR_DESC_DISC | GATTC Characteristic Descriptor Discovery event .
BLE_GATTC_EVT_ENH_READ_RSP | GATTC Read Response event.
BLE_GATTC_EVT_ENH_WRITE_RSP | GATTC Write Response event.
BLE_GATTC_EVT_ENH_NTF_IND | GATTC Notify or Indicate Receive event.
BLE_GATTC_EVT_MAX |

Definition at line 169 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_MULT_NTF | GATTS Multiple Notifications event .
BLE_GATTS_EVT_ENH_READ_REQUEST | GATTS Enhance Read Request event .
BLE_GATTS_EVT_ENH_WRITE_REQUEST | GATTS Enhance Write Request event .
BLE_GATTS_EVT_ENH_PREP_WRITE_REQUEST | GATTS Enhance Prepare Write Request event .
BLE_GATTS_EVT_ENH_NTF_IND | GATTS Enhance Notify or Indicate Complete event .
BLE_GATTS_EVT_ENH_CCCD_RECOVERY | GATTS Enhance CCCD Recovery event .
BLE_GATTS_EVT_ENH_MULT_NTF | GATTS Enhance Multiple Notifications event .
BLE_GATTS_EVT_DATABASE_INITED_IND |
BLE_GATTS_EVT_MAX |

Definition at line 150 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_ENH_CONN_REQ | L2cap Enhanced Connect Request event.
BLE_L2CAP_EVT_ENH_CONN_IND | L2cap Enhanced Connected Indicate event.
BLE_L2CAP_EVT_ENH_RECONFIG_CPLT | L2cap Enhanced Reconfig Completed event.
BLE_L2CAP_EVT_ENH_RECONFIG_IND | L2cap Enhanced Reconfig Indicate event.
BLE_L2CAP_EVT_MAX |

Definition at line 202 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_KEY_PRESS_NTF | Key Press event.
BLE_SEC_EVT_KEY_MISSING | Key Missing event.
BLE_SEC_EVT_MAX |

Definition at line 192 of file ble_event.h.