Mistake on this page? Email us
Data Structures | Typedefs

Data Structures

struct  hciLeConnCmplEvt_t
 LE connection complete event. More...
 
struct  hciDisconnectCmplEvt_t
 Disconnect complete event. More...
 
struct  hciLeConnUpdateCmplEvt_t
 LE connection update complete event. More...
 
struct  hciLeCreateConnCancelCmdCmplEvt_t
 LE create connection cancel command complete event. More...
 
struct  hciLeAdvReportEvt_t
 LE advertising report event. More...
 
struct  hciLeExtAdvReportEvt_t
 LE extended advertising report. More...
 
struct  hciLeScanTimeoutEvt_t
 LE scan timeout. More...
 
struct  hciLeAdvSetTermEvt_t
 LE advertising set terminated. More...
 
struct  hciLeScanReqRcvdEvt_t
 LE scan request received. More...
 
struct  hciLePerAdvSyncEstEvt_t
 LE periodic advertising sync established. More...
 
struct  hciLePerAdvReportEvt_t
 LE periodic advertising report. More...
 
struct  hciLePerAdvSyncLostEvt_t
 LE periodic advertising synch lost. More...
 
struct  HciLePerAdvSyncTrsfRcvdEvt_t
 LE periodic advertising sync transfer received. More...
 
struct  hciLeChSelAlgoEvt_t
 LE channel selection algorithm. More...
 
struct  hciReadRssiCmdCmplEvt_t
 Read RSSI command complete event. More...
 
struct  hciReadChanMapCmdCmplEvt_t
 LE Read channel map command complete event. More...
 
struct  hciReadTxPwrLvlCmdCmplEvt_t
 Read transmit power level command complete event. More...
 
struct  hciReadRemoteVerInfoCmplEvt_t
 Read remote version information complete event. More...
 
struct  hciLeReadRemoteFeatCmplEvt_t
 LE read remote features complete event. More...
 
struct  hciLeLtkReqReplCmdCmplEvt_t
 LE LTK request reply command complete event. More...
 
struct  hciLeLtkReqNegReplCmdCmplEvt_t
 LE LTK request negative reply command complete event. More...
 
struct  hciEncKeyRefreshCmpl_t
 Encryption key refresh complete event. More...
 
struct  hciEncChangeEvt_t
 Encryption change event. More...
 
struct  hciLeLtkReqEvt_t
 LE LTK request event. More...
 
struct  hciVendorSpecCmdStatusEvt_t
 Vendor specific command status event. More...
 
struct  hciVendorSpecCmdCmplEvt_t
 Vendor specific command complete event. More...
 
struct  hciVendorSpecEvt_t
 Vendor specific event. More...
 
struct  hciHwErrorEvt_t
 Hardware error event. More...
 
struct  hciLeEncryptCmdCmplEvt_t
 LE encrypt command complete event. More...
 
struct  hciLeRandCmdCmplEvt_t
 LE rand command complete event. More...
 
struct  hciLeRemConnParamRepEvt_t
 LE remote connection parameter request reply command complete event. More...
 
struct  hciLeRemConnParamNegRepEvt_t
 LE remote connection parameter request negative reply command complete event. More...
 
struct  hciLeReadDefDataLenEvt_t
 LE read suggested default data len command complete event. More...
 
struct  hciLeWriteDefDataLenEvt_t
 LE write suggested default data len command complete event. More...
 
struct  hciLeSetDataLenEvt_t
 LE set data len command complete event. More...
 
struct  hciLeReadMaxDataLenEvt_t
 LE read maximum data len command complete event. More...
 
struct  hciLeRemConnParamReqEvt_t
 LE remote connetion parameter request event. More...
 
struct  hciLeDataLenChangeEvt_t
 LE data length change event. More...
 
struct  hciLeP256CmplEvt_t
 LE local p256 ecc key command complete event. More...
 
struct  hciLeGenDhKeyEvt_t
 LE generate DH key command complete event. More...
 
struct  hciLeReadPeerResAddrCmdCmplEvt_t
 LE read peer resolving address command complete event. More...
 
struct  hciLeReadLocalResAddrCmdCmplEvt_t
 LE read local resolving address command complete event. More...
 
struct  hciLeSetAddrResEnableCmdCmplEvt_t
 LE set address resolving enable command complete event. More...
 
struct  hciLeAddDevToResListCmdCmplEvt_t
 LE add device to resolving list command complete event. More...
 
struct  hciLeRemDevFromResListCmdCmplEvt_t
 LE remove device from resolving list command complete event. More...
 
struct  hciLeClearResListCmdCmplEvt_t
 LE clear resolving list command complete event. More...
 
struct  hciWriteAuthPayloadToCmdCmplEvt_t
 Write authenticated payload to command complete event. More...
 
struct  hciAuthPayloadToExpiredEvt_t
 Authenticated payload to expire event. More...
 
struct  hciLeReadPhyCmdCmplEvt_t
 LE read PHY command complete event. More...
 
struct  hciLeSetDefPhyCmdCmplEvt_t
 LE set default PHY command complete event. More...
 
struct  hciLePhyUpdateEvt_t
 LE PHY update complete event. More...
 
struct  hciLePerAdvSyncTrsfCmdCmplEvt_t
 LE periodic advertising sync transfer command complete event. More...
 
struct  hciLePerAdvSetInfoTrsfCmdCmplEvt_t
 LE set periodic advertising set info transfer command complete event. More...
 
struct  hciLeConnIQReportEvt_t
 LE connection IQ report. More...
 
struct  hciLeCteReqFailedEvt_t
 LE CTE request failed event. More...
 
struct  hciLeSetConnCteRxParamsCmdCmplEvt_t
 LE set connection CTE receive parameters command complete event. More...
 
struct  hciLeSetConnCteTxParamsCmdCmplEvt_t
 LE set connection CTE transmit parameters command complete event. More...
 
struct  hciLeConnCteReqEnableCmdCmplEvt_t
 LE connection CTE request enable command complete event. More...
 
struct  hciLeConnCteRspEnableCmdCmplEvt_t
 LE connection CTE response enable command complete event. More...
 
struct  hciLeReadAntennaInfoCmdCmplEvt_t
 LE read antenna information command complete event. More...
 
struct  hciLocalVerInfo_t
 Local version information. More...
 
union  hciEvt_t
 Union of all event types. More...
 

Typedefs

typedef void(* hciEvtCback_t) (hciEvt_t *pEvent)
 HCI event callback type. More...
 
typedef void(* hciSecCback_t) (hciEvt_t *pEvent)
 HCI security callback type. More...
 

HCI Internal Event Codes

Proprietary HCI event codes for handling HCI events in callbacks.

#define HCI_RESET_SEQ_CMPL_CBACK_EVT   0
 Reset sequence complete.
 
#define HCI_LE_CONN_CMPL_CBACK_EVT   1
 LE connection complete.
 
#define HCI_LE_ENHANCED_CONN_CMPL_CBACK_EVT   2
 LE enhanced connection complete.
 
#define HCI_DISCONNECT_CMPL_CBACK_EVT   3
 LE disconnect complete.
 
#define HCI_LE_CONN_UPDATE_CMPL_CBACK_EVT   4
 LE connection update complete.
 
#define HCI_LE_CREATE_CONN_CANCEL_CMD_CMPL_CBACK_EVT   5
 LE create connection cancel command complete.
 
#define HCI_LE_ADV_REPORT_CBACK_EVT   6
 LE advertising report.
 
#define HCI_READ_RSSI_CMD_CMPL_CBACK_EVT   7
 Read RSSI command complete.
 
#define HCI_LE_READ_CHAN_MAP_CMD_CMPL_CBACK_EVT   8
 LE Read channel map command complete.
 
#define HCI_READ_TX_PWR_LVL_CMD_CMPL_CBACK_EVT   9
 Read transmit power level command complete.
 
#define HCI_READ_REMOTE_VER_INFO_CMPL_CBACK_EVT   10
 Read remote version information complete.
 
#define HCI_LE_READ_REMOTE_FEAT_CMPL_CBACK_EVT   11
 LE read remote features complete.
 
#define HCI_LE_LTK_REQ_REPL_CMD_CMPL_CBACK_EVT   12
 LE LTK request reply command complete.
 
#define HCI_LE_LTK_REQ_NEG_REPL_CMD_CMPL_CBACK_EVT   13
 LE LTK request negative reply command complete.
 
#define HCI_ENC_KEY_REFRESH_CMPL_CBACK_EVT   14
 Encryption key refresh complete.
 
#define HCI_ENC_CHANGE_CBACK_EVT   15
 Encryption change.
 
#define HCI_LE_LTK_REQ_CBACK_EVT   16
 LE LTK request.
 
#define HCI_VENDOR_SPEC_CMD_STATUS_CBACK_EVT   17
 Vendor specific command status.
 
#define HCI_VENDOR_SPEC_CMD_CMPL_CBACK_EVT   18
 Vendor specific command complete.
 
#define HCI_VENDOR_SPEC_CBACK_EVT   19
 Vendor specific.
 
#define HCI_HW_ERROR_CBACK_EVT   20
 Hardware error.
 
#define HCI_LE_ADD_DEV_TO_RES_LIST_CMD_CMPL_CBACK_EVT   21
 LE add device to resolving list command complete.
 
#define HCI_LE_REM_DEV_FROM_RES_LIST_CMD_CMPL_CBACK_EVT   22
 LE remove device from resolving command complete.
 
#define HCI_LE_CLEAR_RES_LIST_CMD_CMPL_CBACK_EVT   23
 LE clear resolving list command complete.
 
#define HCI_LE_READ_PEER_RES_ADDR_CMD_CMPL_CBACK_EVT   24
 LE read peer resolving address command complete.
 
#define HCI_LE_READ_LOCAL_RES_ADDR_CMD_CMPL_CBACK_EVT   25
 LE read local resolving address command complete.
 
#define HCI_LE_SET_ADDR_RES_ENABLE_CMD_CMPL_CBACK_EVT   26
 LE set address resolving enable command complete.
 
#define HCI_LE_ENCRYPT_CMD_CMPL_CBACK_EVT   27
 LE encrypt command complete.
 
#define HCI_LE_RAND_CMD_CMPL_CBACK_EVT   28
 LE rand command complete.
 
#define HCI_LE_REM_CONN_PARAM_REP_CMD_CMPL_CBACK_EVT   29
 LE remote connection parameter request reply complete.
 
#define HCI_LE_REM_CONN_PARAM_NEG_REP_CMD_CMPL_CBACK_EVT   30
 LE remote connection parameter request negative reply complete.
 
#define HCI_LE_READ_DEF_DATA_LEN_CMD_CMPL_CBACK_EVT   31
 LE read suggested default data length command complete.
 
#define HCI_LE_WRITE_DEF_DATA_LEN_CMD_CMPL_CBACK_EVT   32
 LE write suggested default data length command complete.
 
#define HCI_LE_SET_DATA_LEN_CMD_CMPL_CBACK_EVT   33
 LE set data length command complete.
 
#define HCI_LE_READ_MAX_DATA_LEN_CMD_CMPL_CBACK_EVT   34
 LE read maximum data length command complete.
 
#define HCI_LE_REM_CONN_PARAM_REQ_CBACK_EVT   35
 LE remote connection parameter request.
 
#define HCI_LE_DATA_LEN_CHANGE_CBACK_EVT   36
 LE data length change.
 
#define HCI_LE_READ_LOCAL_P256_PUB_KEY_CMPL_CBACK_EVT   37
 LE read local P-256 public key.
 
#define HCI_LE_GENERATE_DHKEY_CMPL_CBACK_EVT   38
 LE generate DHKey complete.
 
#define HCI_WRITE_AUTH_PAYLOAD_TO_CMD_CMPL_CBACK_EVT   39
 Write authenticated payload timeout command complete.
 
#define HCI_AUTH_PAYLOAD_TO_EXPIRED_CBACK_EVT   40
 Authenticated payload timeout expired event.
 
#define HCI_LE_READ_PHY_CMD_CMPL_CBACK_EVT   41
 LE read phy command complete.
 
#define HCI_LE_SET_DEF_PHY_CMD_CMPL_CBACK_EVT   42
 LE set default phy command complete.
 
#define HCI_LE_PHY_UPDATE_CMPL_CBACK_EVT   43
 LE phy update complete.
 
#define HCI_LE_EXT_ADV_REPORT_CBACK_EVT   44
 LE extended advertising report.
 
#define HCI_LE_SCAN_TIMEOUT_CBACK_EVT   45
 LE scan timeout event.
 
#define HCI_LE_ADV_SET_TERM_CBACK_EVT   46
 LE advertising set terminated event.
 
#define HCI_LE_SCAN_REQ_RCVD_CBACK_EVT   47
 LE scan request received event.
 
#define HCI_LE_PER_ADV_SYNC_EST_CBACK_EVT   48
 LE periodic advertising sync established event.
 
#define HCI_LE_PER_ADV_REPORT_CBACK_EVT   49
 LE periodic advertising report event.
 
#define HCI_LE_PER_ADV_SYNC_LOST_CBACK_EVT   50
 LE periodic advertising synch lost event.
 
#define HCI_LE_CH_SEL_ALGO_CBACK_EVT   51
 LE channel selection algorithm event.
 
#define HCI_LE_SCAN_ENABLE_CMD_CMPL_CBACK_EVT   52
 LE scan enable command complete.
 
#define HCI_LE_ADV_ENABLE_CMD_CMPL_CBACK_EVT   53
 LE advertise enable command complete.
 
#define HCI_LE_EXT_SCAN_ENABLE_CMD_CMPL_CBACK_EVT   54
 LE extended scan enable command complete.
 
#define HCI_LE_EXT_ADV_ENABLE_CMD_CMPL_CBACK_EVT   55
 LE extended advertise enable command complete.
 
#define HCI_LE_PER_ADV_ENABLE_CMD_CMPL_CBACK_EVT   56
 LE periodic advertise enable command complete.
 
#define HCI_LE_SET_RAND_ADDR_CMD_CMPL_CBACK_EVT   57
 LE set random address command complete.
 
#define HCI_LE_PER_SYNC_TRSF_RCVD_CBACK_EVT   58
 LE periodic advertising sync transfer received event.
 
#define HCI_LE_PER_ADV_SYNC_TRSF_CMD_CMPL_CBACK_EVT   59
 LE periodic advertising sync transfer command complete.
 
#define HCI_LE_PER_ADV_SET_INFO_TRSF_CMD_CMPL_CBACK_EVT   60
 LE set periodic advertising set info transfer command complete.
 
#define HCI_LE_CONN_IQ_REPORT_CBACK_EVT   61
 LE connection IQ report event.
 
#define HCI_LE_CTE_REQ_FAILED_CBACK_EVT   62
 LE CTE request failed event.
 
#define HCI_LE_SET_CONN_CTE_RX_PARAMS_CMD_CMPL_CBACK_EVT   63
 LE set connection CTE receive parameters command complete.
 
#define HCI_LE_SET_CONN_CTE_TX_PARAMS_CMD_CMPL_CBACK_EVT   64
 LE set connection CTE transmit parameters command complete.
 
#define HCI_LE_CONN_CTE_REQ_ENABLE_CMD_CMPL_CBACK_EVT   65
 LE connection CTE request enable command complete.
 
#define HCI_LE_CONN_CTE_RSP_ENABLE_CMD_CMPL_CBACK_EVT   66
 LE connection CTE response enable command complete.
 
#define HCI_LE_READ_ANTENNA_INFO_CMD_CMPL_CBACK_EVT   67
 LE read antenna information command complete.
 
#define HCI_CIS_EST_CBACK_EVT   68
 CIS established event.
 
#define HCI_CIS_REQ_CBACK_EVT   69
 CIS request event.
 
#define HCI_REQ_PEER_SCA_CBACK_EVT   70
 Request peer SCA complete.
 

Detailed Description

Typedef Documentation

typedef void(* hciEvtCback_t) (hciEvt_t *pEvent)

HCI event callback type.

This callback function sends events from HCI to the stack.

Parameters
pEventPointer to HCI callback event structure.
Returns
None.

Definition at line 841 of file hci_api.h.

typedef void(* hciSecCback_t) (hciEvt_t *pEvent)

HCI security callback type.

This callback function sends certain security events from HCI to the stack. The security events passed in this callback are the LE Rand Command Complete event and the LE Encrypt Command Complete event.

Parameters
pEvtPointer to HCK callback event structure.
Returns
None.

Definition at line 853 of file hci_api.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.