Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
LL_LHCI_INT

Data Structures

struct  lhciPersistCb_t
 Control block of the LL HCI subsystem (persists with resets). More...
 
struct  lhciCb_t
 Control block of the LL HCI subsystem (cleared with resets). More...
 
struct  lhciIsoCb_t
 Control block for ISO data generator. More...
 

Macros

#define LHCI_LEN_SET_EVENT_MASK_EVT   1
 
#define LHCI_LEN_RESET_EVT   1
 
#define LHCI_LEN_READ_PWR_LVL_EVT   4
 
#define LHCI_LEN_READ_AUTH_PAYLOAD_TO_EVT   5
 
#define LHCI_LEN_WRITE_AUTH_PAYLOAD_TO_EVT   3
 
#define LHCI_LEN_READ_LOCAL_VER_EVT   9
 
#define LHCI_LEN_READ_LOCAL_SUP_CMDS_EVT   65
 
#define LHCI_LEN_READ_LOCAL_SUP_FEAT_EVT   9
 
#define LHCI_LEN_READ_BUF_SIZE_EVT   8
 
#define LHCI_LEN_READ_BD_ADDR_EVT   7
 
#define LHCI_LEN_LE_SET_EVENT_MASK_EVT   1
 
#define LHCI_LEN_LE_READ_BUF_SIZE_EVT   4
 
#define LHCI_LEN_LE_READ_LOCAL_SUP_FEAT_EVT   9
 
#define LHCI_LEN_LE_SET_RAND_ADDR_EVT   1
 
#define LHCI_LEN_LE_SET_ADV_PARAM_EVT   1
 
#define LHCI_LEN_LE_READ_ADV_TX_POWER_EVT   2
 
#define LHCI_LEN_LE_SET_ADV_DATA_EVT   1
 
#define LHCI_LEN_LE_SET_SCAN_RESP_DATA_EVT   1
 
#define LHCI_LEN_LE_SET_ADV_ENABLE_EVT   1
 
#define LHCI_LEN_LE_SET_SCAN_PARAM_EVT   1
 
#define LHCI_LEN_LE_SET_SCAN_ENABLE_EVT   1
 
#define LHCI_LEN_LE_CREATE_CONN_CANCEL_EVT   1
 
#define LHCI_LEN_LE_READ_WL_SIZE_EVT   2
 
#define LHCI_LEN_LE_CLEAR_WHITE_LIST_EVT   1
 
#define LHCI_LEN_LE_ADD_DEV_WHITE_LIST_EVT   1
 
#define LHCI_LEN_LE_REMOVE_DEV_WHITE_LIST_EVT   1
 
#define LHCI_LEN_LE_SET_HOST_CHAN_CLASS   1
 
#define LHCI_LEN_LE_READ_CHAN_MAP_EVT   8
 
#define LHCI_LEN_LE_ENCRYPT_EVT   17
 
#define LHCI_LEN_LE_LTK_REQ_REPL_EVT   3
 
#define LHCI_LEN_LE_LTK_REQ_NEG_REPL_EVT   3
 
#define LHCI_LEN_LE_RAND_EVT   9
 
#define LHCI_LEN_LE_READ_SUP_STATES_EVT   9
 
#define LHCI_LEN_LE_RECEIVER_TEST_EVT   1
 
#define LHCI_LEN_LE_TRANSMITTER_TEST_EVT   1
 
#define LHCI_LEN_LE_TEST_END_EVT   3
 
#define LHCI_LEN_LE_REM_CONN_PARAM_REP   3
 
#define LHCI_LEN_LE_REM_CONN_PARAM_NEG_REP   3
 
#define LHCI_LEN_LE_SET_DATA_LEN   3
 
#define LHCI_LEN_LE_READ_DEF_DATA_LEN   5
 
#define LHCI_LEN_LE_WRITE_DEF_DATA_LEN   1
 
#define LHCI_LEN_LE_ADD_DEV_RES_LIST_EVT   1
 
#define LHCI_LEN_LE_REMOVE_DEV_RES_LIST_EVT   1
 
#define LHCI_LEN_LE_CLEAR_RES_LIST_EVT   1
 
#define LHCI_LEN_LE_READ_RES_LIST_SIZE_EVT   2
 
#define LHCI_LEN_LE_READ_PEER_RES_ADDR_EVT   7
 
#define LHCI_LEN_LE_READ_LOCAL_RES_ADDR_EVT   7
 
#define LHCI_LEN_LE_SET_ADDR_RES_ENABLE_EVT   1
 
#define LHCI_LEN_LE_SET_RES_PRIV_ADDR_TO_EVT   1
 
#define LHCI_LEN_LE_READ_MAX_DATA_LEN   9
 
#define LHCI_LEN_LE_SET_PRIVACY_MODE   1
 
#define LHCI_LEN_LE_SET_ADV_SET_RAND_ADDR   1
 
#define LHCI_LEN_LE_SET_EXT_ADV_PARAM   2
 
#define LHCI_LEN_LE_SET_EXT_ADV_DATA   1
 
#define LHCI_LEN_LE_SET_EXT_SCAN_RESP_DATA   1
 
#define LHCI_LEN_LE_SET_EXT_ADV_ENABLE   1
 
#define LHCI_LEN_LE_READ_MAX_ADV_DATA_LEN   3
 
#define LHCI_LEN_LE_READ_NUM_OF_SUP_ADV_SETS   2
 
#define LHCI_LEN_LE_REMOVE_ADV_SET   1
 
#define LHCI_LEN_LE_CLEAR_ADV_SETS   1
 
#define LHCI_LEN_LE_SET_PER_ADV_PARAM   1
 
#define LHCI_LEN_LE_SET_PER_ADV_DATA   1
 
#define LHCI_LEN_LE_SET_PER_ADV_ENABLE   1
 
#define LHCI_LEN_LE_SET_EXT_SCAN_PARAM   1
 
#define LHCI_LEN_LE_SET_EXT_SCAN_ENABLE   1
 
#define LHCI_LEN_LE_PER_ADV_CREATE_SYNC_CANCEL   1
 
#define LHCI_LEN_LE_PER_ADV_TERMINATE_SYNC   1
 
#define LHCI_LEN_LE_ADD_DEV_PER_ADV_LIST   1
 
#define LHCI_LEN_LE_REM_DEV_PER_ADV_LIST   1
 
#define LHCI_LEN_LE_CLEAR_PER_ADV_LIST   1
 
#define LHCI_LEN_LE_READ_PER_ADV_LIST_SIZE   2
 
#define LHCI_LEN_LE_READ_SUP_TX_POWER   3
 
#define LHCI_LEN_LE_WRITE_RF_PATH_COMP   1
 
#define LHCI_LEN_LE_READ_RF_PATH_COMP   5
 
#define LHCI_LEN_LE_SET_EXT_SCAN_ENABLE_EVT   1
 
#define LHCI_LEN_LE_READ_PHY_EVT   5
 
#define LHCI_LEN_LE_SET_DEF_PHY_EVT   1
 
#define LHCI_LEN_LE_ENHANCED_RECEIVER_TEST_EVT   1
 
#define LHCI_LEN_LE_ENHANCED_TRANSMITTER_TEST_EVT   1
 
#define LHCI_LEN_LE_SET_PER_ADV_RCV_ENABLE   1
 
#define LHCI_LEN_LE_PER_ADV_SYNC_TRANSFER   3
 
#define LHCI_LEN_LE_PER_ADV_SET_INFO_TRANSFER   3
 
#define LHCI_LEN_LE_SET_PAST_PARAM   3
 
#define LHCI_LEN_LE_SET_DEFAULT_PAST_PARAM   1
 
#define LHCI_LEN_LE_MODIFY_SCA_EVT   1
 
#define LHCI_LEN_LE_READ_BUF_SIZE_V2   7
 
#define LHCI_LEN_LE_READ_TX_SYNC   12
 
#define LHCI_LEN_LE_REMOVE_CIG   1
 
#define LHCI_LEN_LE_REJECT_CIS_REQ   1
 
#define LHCI_LEN_LE_BIG_TERMINATE_SYNC   2
 
#define LHCI_LEN_LE_SETUP_ISO_DATA_PATH   3
 
#define LHCI_LEN_LE_REMOVE_ISO_DATA_PATH   3
 
#define LHCI_LEN_LE_ISO_TX_TEST   1
 
#define LHCI_LEN_LE_ISO_RX_TEST   1
 
#define LHCI_LEN_LE_ISO_READ_TEST_COUNTER   15
 
#define LHCI_LEN_LE_ISO_TEST_END   15
 
#define LHCI_LEN_LE_SET_HOST_FEATURE   1
 
#define LHCI_LEN_LE_READ_ISO_LINK_QUAL   31
 
#define LHCI_LEN_LE_READ_ENH_TX_POWER_EVT   6
 
#define LHCI_LEN_LE_SET_TX_POWER_REPORT_EVT   3
 
#define LHCI_LEN_LE_SET_PATH_LOSS_REPORTING_PARAMS   3
 
#define LHCI_LEN_LE_SET_PATH_LOSS_REPORTING_ENABLE   3
 
#define LHCI_LEN_CONFIG_DATA_PATH   1
 
#define LHCI_LEN_READ_LOCAL_SUP_CODECS   3
 
#define LHCI_LEN_READ_LOCAL_SUP_CODEC_CAP   2
 
#define LHCI_LEN_READ_LOCAL_SUP_CONTROLLER_DLY   7
 
#define LHCI_DEF_EVT_MASK   UINT64_C(0x00001FFFFFFFFFFF);
 Mandatory event mask. More...
 
#define LHCI_DEF_EVT_PG2_MASK   UINT64_C(0x0000000000000000);
 Default page 2 event mask. More...
 
#define LHCI_DEF_LE_EVT_MASK   UINT64_C(0x000000000000001F);
 Default LE specific event mask. More...
 
#define LHCI_LOCAL_SUP_FEAT_VAL   UINT64_C(0x0000006000000000)
 Local supported features value. More...
 
#define LHCI_BYTE_TO_BITS(x)    (8 * x)
 Convert bytes to bits. More...
 
#define LHCI_LEN_VS_EVT   2
 Vendor specific event length. More...
 
#define LHCI_LEN_CMD_STATUS_EVT   0xFF
 Indicate command status event shall be returned. More...
 
#define LHCI_OPCODE_VS_SET_SCAN_CH_MAP   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E0)
 
#define LHCI_OPCODE_VS_SET_EVENT_MASK   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E1)
 
#define LHCI_OPCODE_VS_SET_RSRC_MGR_MODE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E2)
 
#define LHCI_OPCODE_VS_ENA_ACL_SINK   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E3)
 
#define LHCI_OPCODE_VS_GENERATE_ACL   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E4)
 
#define LHCI_OPCODE_VS_ENA_AUTO_GEN_ACL   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E5)
 
#define LHCI_OPCODE_VS_SET_TX_TEST_ERR_PATT   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E6)
 
#define LHCI_OPCODE_VS_SET_CONN_OP_FLAGS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E7)
 
#define LHCI_OPCODE_VS_SET_P256_PRIV_KEY   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E8)
 
#define LHCI_OPCODE_VS_GET_PER_CHAN_MAP   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DE)
 
#define LHCI_OPCODE_VS_SET_HCI_SUP_CMD   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DF)
 
#define LHCI_OPCODE_VS_GET_ACL_TEST_REPORT   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E9)
 
#define LHCI_OPCODE_VS_SET_LOCAL_MIN_USED_CHAN   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3EA)
 
#define LHCI_OPCODE_VS_GET_PEER_MIN_USED_CHAN   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3EB)
 
#define LHCI_OPCODE_VS_VALIDATE_PUB_KEY_MODE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3EC)
 
#define LHCI_OPCODE_VS_SET_BD_ADDR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F0)
 
#define LHCI_OPCODE_VS_GET_RAND_ADDR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F1)
 
#define LHCI_OPCODE_VS_SET_LOCAL_FEAT   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F2)
 
#define LHCI_OPCODE_VS_SET_OP_FLAGS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F3)
 
#define LHCI_OPCODE_VS_SET_ADV_TX_PWR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F5)
 
#define LHCI_OPCODE_VS_SET_CONN_TX_PWR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F6)
 
#define LHCI_OPCODE_VS_SET_ENC_MODE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F7)
 
#define LHCI_OPCODE_VS_SET_CHAN_MAP   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F8)
 
#define LHCI_OPCODE_VS_SET_DIAG_MODE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F9)
 
#define LHCI_OPCODE_VS_SET_SNIFFER_ENABLE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3CD)
 
#define LHCI_OPCODE_VS_GET_PDU_FILT_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F4)
 
#define LHCI_OPCODE_VS_GET_SYS_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FA)
 
#define LHCI_OPCODE_VS_GET_ADV_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FB)
 
#define LHCI_OPCODE_VS_GET_SCAN_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FC)
 
#define LHCI_OPCODE_VS_GET_CONN_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FD)
 
#define LHCI_OPCODE_VS_GET_TEST_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FE)
 
#define LHCI_OPCODE_VS_GET_POOL_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FF)
 
#define LHCI_OPCODE_VS_SET_AUX_DELAY   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D0)
 
#define LHCI_OPCODE_VS_SET_EXT_ADV_FRAG_LEN   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D1)
 
#define LHCI_OPCODE_VS_SET_EXT_ADV_PHY_OPTS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D2)
 
#define LHCI_OPCODE_VS_SET_EXT_ADV_DEF_PHY_OPTS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D3)
 
#define LHCI_OPCODE_VS_SET_EXT_SCAN_PHY_OPTS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D4)
 
#define LHCI_OPCODE_VS_GENERATE_ISO   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D5)
 
#define LHCI_OPCODE_VS_GET_ISO_TEST_REPORT   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D6)
 
#define LHCI_OPCODE_VS_ENA_ISO_SINK   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D7)
 
#define LHCI_OPCODE_VS_ENA_AUTO_GEN_ISO   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D8)
 
#define LHCI_OPCODE_VS_GET_CIS_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D9)
 
#define LHCI_OPCODE_VS_GET_AUX_ADV_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DA)
 
#define LHCI_OPCODE_VS_GET_AUX_SCAN_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DB)
 
#define LHCI_OPCODE_VS_GET_PER_SCAN_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DC)
 
#define LHCI_OPCODE_VS_SET_CONN_PHY_TX_PWR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DD)
 
#define LHCI_VS_EVT_MASK_SCAN_REPORT_EVT   0x01
 
#define LHCI_VS_EVT_MASK_DIAG_TRACE_EVT   0x02
 
#define LHCI_VS_EVT_MASK_ISO_EVENT_CMPL_EVT   0x04
 

Typedefs

typedef bool_t(* lhciEvtHandler_t) (LlEvt_t *pEvt)
 Event handler call signature. More...
 
typedef uint8_t *(* lhciServiceAcl_t) (void)
 Service ACL call signature. More...
 
typedef uint8_t *(* lhciServiceIso_t) (void)
 Service SCO call signature. More...
 

Enumerations

Functions

static uint8_t lhciPackEvtHdr (uint8_t *pBuf, uint8_t evtCode, uint8_t paramLen)
 Pack an event packet header. More...
 
static uint8_t lhciPackCmdStatusEvt (uint8_t *pBuf, uint8_t status, uint16_t opCode)
 Pack a command status event packet. More...
 
static uint8_t lhciPackCmdCompleteEvt (uint8_t *pBuf, uint16_t opCode)
 Pack a command complete event packet. More...
 
static uint8_t lhciPackCmdCompleteEvtStatus (uint8_t *pBuf, uint8_t status)
 Pack a command complete status parameter. More...
 
static uint8_t lhciPackVsEvt (uint8_t *pBuf, uint16_t vsEvtCode)
 Pack a vendor specific event packet. More...
 
static void lhciSendEvt (uint8_t *pEvtBuf)
 Send an event. More...
 
static void lhciSendCmdCmplEvt (uint8_t *pEvtBuf)
 Send a command complete event. More...
 

Variables

lhciCmdHandler_t lhciCmdTbl [LHCI_MSG_TOTAL]
 Command handler table. More...
 
lhciEvtHandler_t lhciEvtTbl [LHCI_MSG_TOTAL]
 Event handler table. More...
 
lhciServiceAcl_t lhciServiceAcl
 Receive pending handler. More...
 
lhciServiceIso_t lhciServiceIso
 Receive pending handler. More...
 

Detailed Description

Macro Definition Documentation

#define LHCI_BYTE_TO_BITS (   x)    (8 * x)

Convert bytes to bits.

Definition at line 182 of file lhci_int.h.

#define LHCI_DEF_EVT_MASK   UINT64_C(0x00001FFFFFFFFFFF);

Mandatory event mask.

Definition at line 168 of file lhci_int.h.

#define LHCI_DEF_EVT_PG2_MASK   UINT64_C(0x0000000000000000);

Default page 2 event mask.

Definition at line 171 of file lhci_int.h.

#define LHCI_DEF_LE_EVT_MASK   UINT64_C(0x000000000000001F);

Default LE specific event mask.

Definition at line 174 of file lhci_int.h.

#define LHCI_LEN_CMD_STATUS_EVT   0xFF

Indicate command status event shall be returned.

Definition at line 188 of file lhci_int.h.

#define LHCI_LEN_CONFIG_DATA_PATH   1

Configure data path.

Definition at line 162 of file lhci_int.h.

#define LHCI_LEN_LE_ADD_DEV_PER_ADV_LIST   1

LE add device from periodic advertising list command complete event length.

Definition at line 125 of file lhci_int.h.

#define LHCI_LEN_LE_ADD_DEV_RES_LIST_EVT   1

LE add device to resolving list command complete event length.

Definition at line 98 of file lhci_int.h.

#define LHCI_LEN_LE_ADD_DEV_WHITE_LIST_EVT   1

LE add device to white list command complete event length.

Definition at line 79 of file lhci_int.h.

#define LHCI_LEN_LE_BIG_TERMINATE_SYNC   2

LE BIG terminate sync.

Definition at line 149 of file lhci_int.h.

#define LHCI_LEN_LE_CLEAR_ADV_SETS   1

LE clear advertising sets command complete event length.

Definition at line 117 of file lhci_int.h.

#define LHCI_LEN_LE_CLEAR_PER_ADV_LIST   1

LE clear periodic advertising list command complete event length.

Definition at line 127 of file lhci_int.h.

#define LHCI_LEN_LE_CLEAR_RES_LIST_EVT   1

LE clear resolving list command complete event length.

Definition at line 100 of file lhci_int.h.

#define LHCI_LEN_LE_CLEAR_WHITE_LIST_EVT   1

LE clear white list command complete event length.

Definition at line 78 of file lhci_int.h.

#define LHCI_LEN_LE_CREATE_CONN_CANCEL_EVT   1

LE create connection cancel command complete event length.

Definition at line 76 of file lhci_int.h.

#define LHCI_LEN_LE_ENCRYPT_EVT   17

LE encrypt command complete event length.

Definition at line 83 of file lhci_int.h.

#define LHCI_LEN_LE_ENHANCED_RECEIVER_TEST_EVT   1

LE enhanced receiver test command complete event length.

Definition at line 135 of file lhci_int.h.

#define LHCI_LEN_LE_ENHANCED_TRANSMITTER_TEST_EVT   1

LE enhanced transmitter test command complete event length.

Definition at line 136 of file lhci_int.h.

#define LHCI_LEN_LE_ISO_READ_TEST_COUNTER   15

LE ISO read test counter.

Definition at line 154 of file lhci_int.h.

#define LHCI_LEN_LE_ISO_RX_TEST   1

LE ISO Rx Test.

Definition at line 153 of file lhci_int.h.

#define LHCI_LEN_LE_ISO_TEST_END   15

LE ISO test end.

Definition at line 155 of file lhci_int.h.

#define LHCI_LEN_LE_ISO_TX_TEST   1

LE ISO Tx Test.

Definition at line 152 of file lhci_int.h.

#define LHCI_LEN_LE_LTK_REQ_NEG_REPL_EVT   3

LE LTK request negative reply command complete event length.

Definition at line 85 of file lhci_int.h.

#define LHCI_LEN_LE_LTK_REQ_REPL_EVT   3

LE LTK request reply command complete event length.

Definition at line 84 of file lhci_int.h.

#define LHCI_LEN_LE_MODIFY_SCA_EVT   1

LE Modify sleep clock accuracy event length.

Definition at line 143 of file lhci_int.h.

#define LHCI_LEN_LE_PER_ADV_CREATE_SYNC_CANCEL   1

LE periodic advertising create sync cancel command complete event length.

Definition at line 123 of file lhci_int.h.

#define LHCI_LEN_LE_PER_ADV_SET_INFO_TRANSFER   3

LE periodic advertising set info transfer command complete event length.

Definition at line 140 of file lhci_int.h.

#define LHCI_LEN_LE_PER_ADV_SYNC_TRANSFER   3

LE periodic advertising sync transfer command complete event length.

Definition at line 139 of file lhci_int.h.

#define LHCI_LEN_LE_PER_ADV_TERMINATE_SYNC   1

LE periodic advertising terminate sync command complete event length.

Definition at line 124 of file lhci_int.h.

#define LHCI_LEN_LE_RAND_EVT   9

LE random command complete event length.

Definition at line 86 of file lhci_int.h.

#define LHCI_LEN_LE_READ_ADV_TX_POWER_EVT   2

LE read advertising Tx power command complete event length.

Definition at line 70 of file lhci_int.h.

#define LHCI_LEN_LE_READ_BUF_SIZE_EVT   4

LE read buffer size command complete event length.

Definition at line 66 of file lhci_int.h.

#define LHCI_LEN_LE_READ_BUF_SIZE_V2   7

LE read ISO buffer size command complete event length.

Definition at line 145 of file lhci_int.h.

#define LHCI_LEN_LE_READ_CHAN_MAP_EVT   8

LE read channel map command complete event length.

Definition at line 82 of file lhci_int.h.

#define LHCI_LEN_LE_READ_DEF_DATA_LEN   5

LE read default data length command complete event length.

Definition at line 96 of file lhci_int.h.

#define LHCI_LEN_LE_READ_ENH_TX_POWER_EVT   6

LE Read enhanced TX power.

Definition at line 158 of file lhci_int.h.

#define LHCI_LEN_LE_READ_ISO_LINK_QUAL   31

LE Read ISO link quality.

Definition at line 157 of file lhci_int.h.

#define LHCI_LEN_LE_READ_LOCAL_RES_ADDR_EVT   7

LE read local resolving address command complete event length.

Definition at line 103 of file lhci_int.h.

#define LHCI_LEN_LE_READ_LOCAL_SUP_FEAT_EVT   9

LE read local supported feature command complete event length.

Definition at line 67 of file lhci_int.h.

#define LHCI_LEN_LE_READ_MAX_ADV_DATA_LEN   3

LE read maximum advertising data length command complete event length.

Definition at line 114 of file lhci_int.h.

#define LHCI_LEN_LE_READ_MAX_DATA_LEN   9

LE read maximum data length command complete event length.

Definition at line 106 of file lhci_int.h.

#define LHCI_LEN_LE_READ_NUM_OF_SUP_ADV_SETS   2

LE read number of supported advertising sets command complete event length.

Definition at line 115 of file lhci_int.h.

#define LHCI_LEN_LE_READ_PEER_RES_ADDR_EVT   7

LE read peer resolving address command complete event length.

Definition at line 102 of file lhci_int.h.

#define LHCI_LEN_LE_READ_PER_ADV_LIST_SIZE   2

LE read periodic advertising list size command complete event length.

Definition at line 128 of file lhci_int.h.

#define LHCI_LEN_LE_READ_PHY_EVT   5

LE read PHY command complete event length.

Definition at line 133 of file lhci_int.h.

#define LHCI_LEN_LE_READ_RES_LIST_SIZE_EVT   2

LE read resolving list size command complete event length.

Definition at line 101 of file lhci_int.h.

#define LHCI_LEN_LE_READ_RF_PATH_COMP   5

LE read RF path compensation command complete event length.

Definition at line 131 of file lhci_int.h.

#define LHCI_LEN_LE_READ_SUP_STATES_EVT   9

LE read supported states command complete event length.

Definition at line 87 of file lhci_int.h.

#define LHCI_LEN_LE_READ_SUP_TX_POWER   3

LE read supported Tx power command complete event length.

Definition at line 129 of file lhci_int.h.

#define LHCI_LEN_LE_READ_TX_SYNC   12

LE read ISO Tx sync.

Definition at line 146 of file lhci_int.h.

#define LHCI_LEN_LE_READ_WL_SIZE_EVT   2

LE read white list size command complete event length.

Definition at line 77 of file lhci_int.h.

#define LHCI_LEN_LE_RECEIVER_TEST_EVT   1

LE receiver test command complete event length.

Definition at line 88 of file lhci_int.h.

#define LHCI_LEN_LE_REJECT_CIS_REQ   1

LE reject CIS request.

Definition at line 148 of file lhci_int.h.

#define LHCI_LEN_LE_REM_CONN_PARAM_NEG_REP   3

LE remote connection parameter negative reply command complete event length.

Definition at line 93 of file lhci_int.h.

#define LHCI_LEN_LE_REM_CONN_PARAM_REP   3

LE remote connection parameter reply command complete event length.

Definition at line 92 of file lhci_int.h.

#define LHCI_LEN_LE_REM_DEV_PER_ADV_LIST   1

LE remove device from periodic advertising list command complete event length.

Definition at line 126 of file lhci_int.h.

#define LHCI_LEN_LE_REMOVE_ADV_SET   1

LE remove advertising set command complete event length.

Definition at line 116 of file lhci_int.h.

#define LHCI_LEN_LE_REMOVE_CIG   1

LE remove CIG.

Definition at line 147 of file lhci_int.h.

#define LHCI_LEN_LE_REMOVE_DEV_RES_LIST_EVT   1

LE remove device from resolving list command complete event length.

Definition at line 99 of file lhci_int.h.

#define LHCI_LEN_LE_REMOVE_DEV_WHITE_LIST_EVT   1

LE remove device from white list command complete event length.

Definition at line 80 of file lhci_int.h.

#define LHCI_LEN_LE_REMOVE_ISO_DATA_PATH   3

LE remove ISO data path.

Definition at line 151 of file lhci_int.h.

#define LHCI_LEN_LE_SET_ADDR_RES_ENABLE_EVT   1

LE set address resolution enable command complete event length.

Definition at line 104 of file lhci_int.h.

#define LHCI_LEN_LE_SET_ADV_DATA_EVT   1

LE set advertising data command complete event length.

Definition at line 71 of file lhci_int.h.

#define LHCI_LEN_LE_SET_ADV_ENABLE_EVT   1

LE set advertising enable command complete event length.

Definition at line 73 of file lhci_int.h.

#define LHCI_LEN_LE_SET_ADV_PARAM_EVT   1

LE set advertising parameter command complete event length.

Definition at line 69 of file lhci_int.h.

#define LHCI_LEN_LE_SET_ADV_SET_RAND_ADDR   1

LE set advertising set random address command complete event length.

Definition at line 109 of file lhci_int.h.

#define LHCI_LEN_LE_SET_DATA_LEN   3

LE set data length command complete event length.

Definition at line 95 of file lhci_int.h.

#define LHCI_LEN_LE_SET_DEF_PHY_EVT   1

LE set default PHY command complete event length.

Definition at line 134 of file lhci_int.h.

#define LHCI_LEN_LE_SET_DEFAULT_PAST_PARAM   1

LE set default periodic advertising sync transfer parameters command complete event length.

Definition at line 142 of file lhci_int.h.

#define LHCI_LEN_LE_SET_EVENT_MASK_EVT   1

LE set event mask command complete event length.

Definition at line 65 of file lhci_int.h.

#define LHCI_LEN_LE_SET_EXT_ADV_DATA   1

LE set extended advertising data command complete event length.

Definition at line 111 of file lhci_int.h.

#define LHCI_LEN_LE_SET_EXT_ADV_ENABLE   1

LE set extended advertising enable command complete event length.

Definition at line 113 of file lhci_int.h.

#define LHCI_LEN_LE_SET_EXT_ADV_PARAM   2

LE set extended advertising parameters command complete event length.

Definition at line 110 of file lhci_int.h.

#define LHCI_LEN_LE_SET_EXT_SCAN_ENABLE   1

LE set extended scan enable command complete event length.

Definition at line 122 of file lhci_int.h.

#define LHCI_LEN_LE_SET_EXT_SCAN_ENABLE_EVT   1

LE set extended scan enable command complete event length.

Definition at line 132 of file lhci_int.h.

#define LHCI_LEN_LE_SET_EXT_SCAN_PARAM   1

LE set extended scan parameter command complete event length.

Definition at line 121 of file lhci_int.h.

#define LHCI_LEN_LE_SET_EXT_SCAN_RESP_DATA   1

LE set extended scan response data command complete event length.

Definition at line 112 of file lhci_int.h.

#define LHCI_LEN_LE_SET_HOST_CHAN_CLASS   1

LE set host channel class command complete event length.

Definition at line 81 of file lhci_int.h.

#define LHCI_LEN_LE_SET_HOST_FEATURE   1

LE Set Host Feature.

Definition at line 156 of file lhci_int.h.

#define LHCI_LEN_LE_SET_PAST_PARAM   3

LE set periodic advertising sync transfer parameters command complete event length.

Definition at line 141 of file lhci_int.h.

#define LHCI_LEN_LE_SET_PATH_LOSS_REPORTING_ENABLE   3

LE Set path loss reporting enable event.

Definition at line 161 of file lhci_int.h.

#define LHCI_LEN_LE_SET_PATH_LOSS_REPORTING_PARAMS   3

LE Set path loss reporting parameters event.

Definition at line 160 of file lhci_int.h.

#define LHCI_LEN_LE_SET_PER_ADV_DATA   1

LE set periodic advertising data command complete event length.

Definition at line 119 of file lhci_int.h.

#define LHCI_LEN_LE_SET_PER_ADV_ENABLE   1

LE set periodic advertising enable command complete event length.

Definition at line 120 of file lhci_int.h.

#define LHCI_LEN_LE_SET_PER_ADV_PARAM   1

LE set periodic advertising parameters command complete event length.

Definition at line 118 of file lhci_int.h.

#define LHCI_LEN_LE_SET_PER_ADV_RCV_ENABLE   1

LE set periodic advertising receive enable command complete event length.

Definition at line 138 of file lhci_int.h.

#define LHCI_LEN_LE_SET_PRIVACY_MODE   1

LE set privacy mode command complete event length.

Definition at line 108 of file lhci_int.h.

#define LHCI_LEN_LE_SET_RAND_ADDR_EVT   1

LE set random address command complete event length.

Definition at line 68 of file lhci_int.h.

#define LHCI_LEN_LE_SET_RES_PRIV_ADDR_TO_EVT   1

LE set resolving private address timeout command complete event length.

Definition at line 105 of file lhci_int.h.

#define LHCI_LEN_LE_SET_SCAN_ENABLE_EVT   1

LE set scan enable command complete event length.

Definition at line 75 of file lhci_int.h.

#define LHCI_LEN_LE_SET_SCAN_PARAM_EVT   1

LE set scan parameter command complete event length.

Definition at line 74 of file lhci_int.h.

#define LHCI_LEN_LE_SET_SCAN_RESP_DATA_EVT   1

LE set scan response data command complete event length.

Definition at line 72 of file lhci_int.h.

#define LHCI_LEN_LE_SET_TX_POWER_REPORT_EVT   3

LE Set transmit power reporting enable event.

Definition at line 159 of file lhci_int.h.

#define LHCI_LEN_LE_SETUP_ISO_DATA_PATH   3

LE setup ISO data path.

Definition at line 150 of file lhci_int.h.

#define LHCI_LEN_LE_TEST_END_EVT   3

LE test end command complete event length.

Definition at line 90 of file lhci_int.h.

#define LHCI_LEN_LE_TRANSMITTER_TEST_EVT   1

LE transmitter test command complete event length.

Definition at line 89 of file lhci_int.h.

#define LHCI_LEN_LE_WRITE_DEF_DATA_LEN   1

LE write default data length command complete event length.

Definition at line 97 of file lhci_int.h.

#define LHCI_LEN_LE_WRITE_RF_PATH_COMP   1

LE write RF path compensation command complete event length.

Definition at line 130 of file lhci_int.h.

#define LHCI_LEN_READ_AUTH_PAYLOAD_TO_EVT   5

Read authenticated payload timeout command complete event length.

Definition at line 54 of file lhci_int.h.

#define LHCI_LEN_READ_BD_ADDR_EVT   7

Read BD address command complete event length.

Definition at line 62 of file lhci_int.h.

#define LHCI_LEN_READ_BUF_SIZE_EVT   8

Read buffer size command complete event length.

Definition at line 61 of file lhci_int.h.

#define LHCI_LEN_READ_LOCAL_SUP_CMDS_EVT   65

Read local supported commands command complete event length.

Definition at line 59 of file lhci_int.h.

#define LHCI_LEN_READ_LOCAL_SUP_CODEC_CAP   2

Read local supported codec configuration.

Definition at line 164 of file lhci_int.h.

#define LHCI_LEN_READ_LOCAL_SUP_CODECS   3

Read local supported codecs.

Definition at line 163 of file lhci_int.h.

#define LHCI_LEN_READ_LOCAL_SUP_CONTROLLER_DLY   7

Read local supported controller delay.

Definition at line 165 of file lhci_int.h.

#define LHCI_LEN_READ_LOCAL_SUP_FEAT_EVT   9

Read local supported feature command complete event length.

Definition at line 60 of file lhci_int.h.

#define LHCI_LEN_READ_LOCAL_VER_EVT   9

Read local version command complete event length.

Definition at line 58 of file lhci_int.h.

#define LHCI_LEN_READ_PWR_LVL_EVT   4

Read power level command complete event length.

Definition at line 53 of file lhci_int.h.

#define LHCI_LEN_RESET_EVT   1

Reset command complete event length.

Definition at line 52 of file lhci_int.h.

#define LHCI_LEN_SET_EVENT_MASK_EVT   1

Set event mask command complete event length.

Definition at line 51 of file lhci_int.h.

#define LHCI_LEN_VS_EVT   2

Vendor specific event length.

Definition at line 185 of file lhci_int.h.

#define LHCI_LEN_WRITE_AUTH_PAYLOAD_TO_EVT   3

Write authenticated payload timeout command complete event length.

Definition at line 55 of file lhci_int.h.

#define LHCI_LOCAL_SUP_FEAT_VAL   UINT64_C(0x0000006000000000)

Local supported features value.

Definition at line 177 of file lhci_int.h.

#define LHCI_OPCODE_VS_ENA_ACL_SINK   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E3)

Enable ACL Packet Sink opcode.

Definition at line 194 of file lhci_int.h.

#define LHCI_OPCODE_VS_ENA_AUTO_GEN_ACL   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E5)

Enable Auto Generate ACL Packets opcode.

Definition at line 196 of file lhci_int.h.

#define LHCI_OPCODE_VS_ENA_AUTO_GEN_ISO   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D8)

Enable Auto Generate ISO Packets opcode.

Definition at line 235 of file lhci_int.h.

#define LHCI_OPCODE_VS_ENA_ISO_SINK   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D7)

Enable ISO Packet Sink opcode.

Definition at line 234 of file lhci_int.h.

#define LHCI_OPCODE_VS_GENERATE_ACL   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E4)

Generate ACL Packets opcode.

Definition at line 195 of file lhci_int.h.

#define LHCI_OPCODE_VS_GENERATE_ISO   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D5)

Generate ISO Packets opcode.

Definition at line 232 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_ACL_TEST_REPORT   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E9)

Get ACL Test Report opcode.

Definition at line 202 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_ADV_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FB)

Get Advertising Statistics opcode.

Definition at line 221 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_AUX_ADV_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DA)

Get Auxiliary Advertising Statistics opcode.

Definition at line 238 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_AUX_SCAN_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DB)

Get Auxiliary Scanning Statistics opcode.

Definition at line 239 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_CIS_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D9)

Get ISO Connection Statistics opcode.

Definition at line 236 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_CONN_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FD)

Get Connection Statistics opcode.

Definition at line 223 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_ISO_TEST_REPORT   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D6)

Get ISO Test Report opcode.

Definition at line 233 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_PDU_FILT_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F4)

Get PDU Filter Statistics opcode.

Definition at line 219 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_PEER_MIN_USED_CHAN   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3EB)

Get peer minimum number of used channels.

Definition at line 204 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_PER_CHAN_MAP   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DE)

Get channel map of periodic scan/adv.

Definition at line 200 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_PER_SCAN_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DC)

Get Periodic Scanning Statistics opcode.

Definition at line 240 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_POOL_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FF)

Get Pool Statistics opcode.

Definition at line 225 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_RAND_ADDR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F1)

Get Random Address opcode.

Definition at line 208 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_SCAN_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FC)

Get Scan Statistics opcode.

Definition at line 222 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_SYS_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FA)

Get Memory Statistics opcode.

Definition at line 220 of file lhci_int.h.

#define LHCI_OPCODE_VS_GET_TEST_STATS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3FE)

Get Test Statistics opcode.

Definition at line 224 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_ADV_TX_PWR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F5)

Set Advertising Tx Power opcode.

Definition at line 211 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_AUX_DELAY   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D0)

Set Additional AuxPtr offset.

Definition at line 227 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_BD_ADDR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F0)

Set BD address opcode.

Definition at line 207 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_CHAN_MAP   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F8)

Set Channel Map opcode.

Definition at line 214 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_CONN_OP_FLAGS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E7)

Set Connection Operational Flags opcode.

Definition at line 198 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_CONN_PHY_TX_PWR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DD)

Set Connection Phy Tx Power opcode.

Definition at line 242 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_CONN_TX_PWR   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F6)

Set Connection Tx Power opcode.

Definition at line 212 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_DIAG_MODE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F9)

Set Diagnostic Mode opcode.

Definition at line 216 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_ENC_MODE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F7)

Set Encryption Mode opcode.

Definition at line 213 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_EVENT_MASK   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E1)

Set Vendor Specific Event Mask opcode.

Definition at line 192 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_EXT_ADV_DEF_PHY_OPTS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D3)

Set extended advertising default PHY options.

Definition at line 230 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_EXT_ADV_FRAG_LEN   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D1)

Set extended advertising data fragmentation length.

Definition at line 228 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_EXT_ADV_PHY_OPTS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D2)

Set extended advertising PHY options.

Definition at line 229 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_EXT_SCAN_PHY_OPTS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3D4)

Set extended scanning default PHY options.

Definition at line 231 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_HCI_SUP_CMD   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3DF)

DEPRECATED.

Definition at line 201 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_LOCAL_FEAT   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F2)

Set Local Feature opcode.

Definition at line 209 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_LOCAL_MIN_USED_CHAN   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3EA)

Set local minimum number of used channels.

Definition at line 203 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_OP_FLAGS   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3F3)

Set Operational Flags opcode.

Definition at line 210 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_P256_PRIV_KEY   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E8)

Set P-256 Private Key opcode.

Definition at line 199 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_RSRC_MGR_MODE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E2)

DEPRECATED.

Definition at line 193 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_SCAN_CH_MAP   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E0)

Set Scan Channel Map opcode.

Definition at line 191 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_SNIFFER_ENABLE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3CD)

Enable sniffer packet forwarding.

Definition at line 217 of file lhci_int.h.

#define LHCI_OPCODE_VS_SET_TX_TEST_ERR_PATT   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3E6)

Set Tx Test Error Pattern opcode.

Definition at line 197 of file lhci_int.h.

#define LHCI_OPCODE_VS_VALIDATE_PUB_KEY_MODE   HCI_OPCODE(HCI_OGF_VENDOR_SPEC, 0x3EC)

Set validate public key mode between ALT1 and ALT2.

Definition at line 205 of file lhci_int.h.

#define LHCI_VS_EVT_MASK_DIAG_TRACE_EVT   0x02

(Byte 0) VS event bit, diagnostic tracing.

Definition at line 247 of file lhci_int.h.

#define LHCI_VS_EVT_MASK_ISO_EVENT_CMPL_EVT   0x04

(Byte 0) VS event bit, ISO event complete.

Definition at line 248 of file lhci_int.h.

#define LHCI_VS_EVT_MASK_SCAN_REPORT_EVT   0x01

(Byte 0) VS event bit, scan report.

Definition at line 246 of file lhci_int.h.

Typedef Documentation

typedef bool_t(* lhciEvtHandler_t) (LlEvt_t *pEvt)

Event handler call signature.

Definition at line 292 of file lhci_int.h.

typedef uint8_t*(* lhciServiceAcl_t) (void)

Service ACL call signature.

Definition at line 295 of file lhci_int.h.

typedef uint8_t*(* lhciServiceIso_t) (void)

Service SCO call signature.

Definition at line 298 of file lhci_int.h.

Enumeration Type Documentation

anonymous enum

Message handler types.

Enumerator
LHCI_MSG_PRIV 

Privacy command handler type. Must be before CONN.

LHCI_MSG_CONN 

Connection command handler type.

LHCI_MSG_CONN_CS2 

Connection Channel Selection 2 command handler type.

LHCI_MSG_ENC 

Encryption command handler type.

LHCI_MSG_SCAN 

Scan command handler type.

LHCI_MSG_EXT_SCAN 

Extended scan command handler type.

LHCI_MSG_PER_SCAN 

Periodic scan command handler type.

LHCI_MSG_ADV 

Advertising command handler type.

LHCI_MSG_EXT_ADV 

Extended advertising command handler type.

LHCI_MSG_PER_ADV 

Periodic advertising command handler type.

LHCI_MSG_SC 

Secure connections command handler type.

LHCI_MSG_PHY 

PHY features command handler type.

LHCI_MSG_PAST 

Periodic advertising sync transfer command handler type.

LHCI_MSG_CIS_MST 

Connected isochronous stream master features command handler type.

LHCI_MSG_CIS_SLV 

Connected isochronous stream slave features command handler type.

LHCI_MSG_BIS_MST 

Broadcast isochronous stream master features command handler type.

LHCI_MSG_BIS_SLV 

Broadcast isochronous stream slave features command handler type.

LHCI_MSG_ISO 

Isochronous features command handler type.

LHCI_MSG_PC 

Power control handler type.

LHCI_MSG_VS_EXT 

Extended vendor specific command handler type.

LHCI_MSG_TESTER 

Tester vendor specific command handler type.

LHCI_MSG_TOTAL 

Total number of command handlers.

Definition at line 255 of file lhci_int.h.

anonymous enum

Task event types.

Enumerator
LHCI_EVT_ACL_RCVD 

HCI ACL packet received.

LHCI_EVT_CMD_RCVD 

HCI command packet received.

LHCI_EVT_SEND_CMPL 

HCI event packet send completion.

LHCI_EVT_HW_ERR 

HCI hardware error.

LHCI_EVT_ISO_RCVD 

HCI ISO packet received.

Definition at line 282 of file lhci_int.h.

Function Documentation

static uint8_t lhciPackCmdCompleteEvt ( uint8_t *  pBuf,
uint16_t  opCode 
)
static

Pack a command complete event packet.

Parameters
pBufPacked packet buffer.
opCodeOpCode.
Returns
Packet length.

Definition at line 527 of file lhci_int.h.

static uint8_t lhciPackCmdCompleteEvtStatus ( uint8_t *  pBuf,
uint8_t  status 
)
static

Pack a command complete status parameter.

Parameters
pBufPacked packet buffer.
statusCompletion status.
Returns
Packet length.

Definition at line 547 of file lhci_int.h.

static uint8_t lhciPackCmdStatusEvt ( uint8_t *  pBuf,
uint8_t  status,
uint16_t  opCode 
)
static

Pack a command status event packet.

Parameters
pBufPacked packet buffer.
statusCompletion status.
opCodeOpCode.
Returns
Packet length.

Definition at line 506 of file lhci_int.h.

static uint8_t lhciPackEvtHdr ( uint8_t *  pBuf,
uint8_t  evtCode,
uint8_t  paramLen 
)
static

Pack an event packet header.

Parameters
pBufPacked packet buffer.
evtCodeEvent code.
paramLenParameter length.
Returns
Packet length.

Definition at line 485 of file lhci_int.h.

static uint8_t lhciPackVsEvt ( uint8_t *  pBuf,
uint16_t  vsEvtCode 
)
static

Pack a vendor specific event packet.

Parameters
pBufPacked packet buffer.
vsEvtCodeEvent code.
Returns
Packet length.

Definition at line 566 of file lhci_int.h.

static void lhciSendCmdCmplEvt ( uint8_t *  pEvtBuf)
static

Send a command complete event.

Parameters
pEvtBufBuffer containing command complete event.

Definition at line 594 of file lhci_int.h.

static void lhciSendEvt ( uint8_t *  pEvtBuf)
static

Send an event.

Parameters
pEvtBufBuffer containing event.

Definition at line 582 of file lhci_int.h.

Variable Documentation

Command handler table.

Event handler table.

lhciServiceAcl_t lhciServiceAcl

Receive pending handler.

lhciServiceIso_t lhciServiceIso

Receive pending handler.

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.