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... | |
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... | |
#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 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.
anonymous enum |
Message handler types.
Definition at line 255 of file lhci_int.h.
anonymous enum |
Task event types.
Definition at line 282 of file lhci_int.h.
|
static |
Pack a command complete event packet.
pBuf | Packed packet buffer. |
opCode | OpCode. |
Definition at line 527 of file lhci_int.h.
|
static |
Pack a command complete status parameter.
pBuf | Packed packet buffer. |
status | Completion status. |
Definition at line 547 of file lhci_int.h.
|
static |
Pack a command status event packet.
pBuf | Packed packet buffer. |
status | Completion status. |
opCode | OpCode. |
Definition at line 506 of file lhci_int.h.
|
static |
Pack an event packet header.
pBuf | Packed packet buffer. |
evtCode | Event code. |
paramLen | Parameter length. |
Definition at line 485 of file lhci_int.h.
|
static |
Pack a vendor specific event packet.
pBuf | Packed packet buffer. |
vsEvtCode | Event code. |
Definition at line 566 of file lhci_int.h.
|
static |
Send a command complete event.
pEvtBuf | Buffer containing command complete event. |
Definition at line 594 of file lhci_int.h.
|
static |
Send an event.
pEvtBuf | Buffer containing event. |
Definition at line 582 of file lhci_int.h.
lhciCmdHandler_t lhciCmdTbl[LHCI_MSG_TOTAL] |
Command handler table.
lhciEvtHandler_t lhciEvtTbl[LHCI_MSG_TOTAL] |
Event handler table.
lhciServiceAcl_t lhciServiceAcl |
Receive pending handler.
lhciServiceIso_t lhciServiceIso |
Receive pending handler.