/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/include/stack/ |
D | hcimsgs.h | 31 BOOLEAN btsnd_hcic_inquiry(const LAP inq_lap, UINT8 duration, 32 UINT8 response_cnt); 49 const LAP inq_lap, UINT8 duration, 50 UINT8 response_cnt); 67 UINT8 page_scan_rep_mode, 68 UINT8 page_scan_mode, 70 UINT8 allow_switch); 83 BOOLEAN btsnd_hcic_disconnect(UINT16 handle, UINT8 reason); 111 BOOLEAN btsnd_hcic_accept_conn (BD_ADDR bd_addr, UINT8 role); 120 BOOLEAN btsnd_hcic_reject_conn (BD_ADDR bd_addr, UINT8 reason); [all …]
|
D | avdt_api.h | 94 typedef UINT8 AVDT_REPORT_TYPE; 223 UINT8 frag_lost; /* fraction lost since last RR */ 234 UINT8 cname[AVDT_MAX_CNAME_SIZE + 1]; 240 UINT8 ret_tout; /* AVDTP signaling retransmission timeout */ 241 UINT8 sig_tout; /* AVDTP signaling message timeout */ 242 UINT8 idle_tout; /* AVDTP idle signaling channel timeout */ 243 UINT8 sec_mask; /* Security mask for BTM_SetSecurityLevel() */ 251 UINT8 seid; /* Stream endpoint identifier */ 252 UINT8 media_type; /* Media type */ 253 UINT8 tsep; /* SEP type */ [all …]
|
D | btm_ble_api.h | 33 typedef UINT8 tBTM_BLE_CHNL_MAP[CHANNEL_MAP_LEN]; 50 typedef UINT8 tBTM_BLE_EVT; 51 typedef UINT8 tBTM_BLE_CONN_MODE; 58 typedef UINT8 tBLE_SCAN_MODE; 65 typedef UINT8 tBTM_BLE_BATCH_SCAN_MODE; 71 typedef UINT8 tBTM_BLE_ADV_CHNL_MAP; 84 typedef UINT8 tBTM_BLE_AFP; 101 typedef UINT8 tBTM_BLE_SFP; 202 typedef UINT8 BLE_SIGNATURE[BTM_BLE_AUTH_SIGN_LEN]; /* Device address */ 275 UINT8 status; [all …]
|
D | bt_types.h | 221 #define HCI_GET_CMD_HDR_OPCODE(p) (UINT16)((*((UINT8 *)((p) + 1) + p->offset) + \ 222 (*((UINT8 *)((p) + 1) + p->offset + 1) << 8))) 223 #define HCI_GET_CMD_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 2)) 225 #define HCI_GET_EVT_HDR_OPCODE(p) (UINT8)(*((UINT8 *)((p) + 1) + p->offset)) 226 #define HCI_GET_EVT_HDR_PARAM_LEN(p) (UINT8) (*((UINT8 *)((p) + 1) + p->offset + 1)) 232 …32_TO_STREAM(p, u32) {*(p)++ = (UINT8)(u32); *(p)++ = (UINT8)((u32) >> 8); *(p)++ = (UINT8)((u32) … 233 #define UINT24_TO_STREAM(p, u24) {*(p)++ = (UINT8)(u24); *(p)++ = (UINT8)((u24) >> 8); *(p)++ = (UI… 234 #define UINT16_TO_STREAM(p, u16) {*(p)++ = (UINT8)(u16); *(p)++ = (UINT8)((u16) >> 8);} 235 #define UINT8_TO_STREAM(p, u8) {*(p)++ = (UINT8)(u8);} 237 …M(p, a) {register int ijk; for (ijk = 0; ijk < 32; ijk++) *(p)++ = (UINT8) a[31 - ijk];} [all …]
|
D | avrc_defs.h | 248 typedef UINT8 tAVRC_STS; 286 typedef UINT8 tAVRC_BATTERY_STATUS; 311 typedef UINT8 tAVRC_PLAYSTATE; 345 typedef UINT8 tAVRC_SYSTEMSTATE; 398 typedef UINT8 tAVRC_UID[AVRC_UID_SIZE]; 757 UINT8 ctype; /* Command type. */ 758 UINT8 subunit_type; /* Subunit type. */ 759 UINT8 subunit_id; /* Subunit ID. This value is typically ignored in AVRCP, 762 UINT8 opcode; /* Op Code (passthrough, vendor, etc) */ 769 UINT8 unit_type; /* Unit type. Uses the same values as subunit type. */ [all …]
|
D | avdtc_api.h | 49 UINT8 seid_list[AVDT_NUM_SEPS]; /* Array of SEID values */ 50 UINT8 num_seps; /* Number of values in array */ 61 typedef void tAVDTC_CTRL_CBACK(UINT8 handle, BD_ADDR bd_addr, UINT8 event, tAVDTC_CTRL *p_data); 90 extern void AVDTC_DiscoverRsp(BD_ADDR bd_addr, UINT8 label, 91 tAVDT_SEP_INFO sep_info[], UINT8 num_seps); 102 extern void AVDTC_GetCapRsp(BD_ADDR bd_addr, UINT8 label, tAVDT_CFG *p_cap); 113 extern void AVDTC_GetAllCapRsp(BD_ADDR bd_addr, UINT8 label, tAVDT_CFG *p_cap); 124 extern void AVDTC_GetConfigReq(UINT8 handle); 135 extern void AVDTC_GetConfigRsp(UINT8 handle, UINT8 label, tAVDT_CFG *p_cfg); 146 extern void AVDTC_OpenReq(UINT8 handle); [all …]
|
D | avrc_api.h | 145 typedef void (tAVRC_CTRL_CBACK) (UINT8 handle, UINT8 event, UINT16 result, 153 typedef void (tAVRC_MSG_CBACK) (UINT8 handle, UINT8 label, UINT8 opcode, 160 UINT8 conn; /* Connection role (Initiator/acceptor) */ 161 UINT8 control; /* Control role (Control/Target) */ 293 extern UINT16 AVRC_Open(UINT8 *p_handle, tAVRC_CONN_CB *p_ccb, 314 extern UINT16 AVRC_Close(UINT8 handle); 330 extern UINT16 AVRC_OpenBrowse(UINT8 handle, UINT8 conn_role); 344 extern UINT16 AVRC_CloseBrowse(UINT8 handle); 362 extern UINT16 AVRC_MsgReq (UINT8 handle, UINT8 label, UINT8 ctype, BT_HDR *p_pkt); 385 extern UINT16 AVRC_UnitCmd(UINT8 handle, UINT8 label); [all …]
|
D | btm_api.h | 101 typedef UINT8 tBTM_DEVICE_ROLE; 104 typedef UINT8 tBTM_BD_NAME[BTM_MAX_REM_BD_NAME_LEN + 1]; 108 UINT8 hci_version; 110 UINT8 lmp_version; 119 UINT8 *p_param_buf; 137 typedef UINT8 tBTM_DEV_STATUS; 165 typedef void (tBTM_VS_EVT_CB) (UINT8 len, UINT8 *p); 184 typedef UINT8 (tBTM_FILTER_CB) (BD_ADDR bd_addr, DEV_CLASS dc); 186 typedef void (tBTM_UPDATE_CONN_PARAM_CBACK) (UINT8 status, BD_ADDR bd_addr, tBTM_LE_UPDATE_CONN_PRA… 188 typedef void (tBTM_SET_PKT_DATA_LENGTH_CBACK) (UINT8 status, tBTM_LE_SET_PKT_DATA_LENGTH_PARAMS *da… [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/rfcomm/include/ |
D | rfc_int.h | 51 extern void RFCOMM_DlcEstablishReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu); 52 extern void RFCOMM_DlcEstablishRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT16 result); 54 extern void RFCOMM_DataReq (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf); 56 extern void RFCOMM_DlcReleaseReq (tRFC_MCB *p_mcb, UINT8 dlci); 58 extern void RFCOMM_ParNegReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu); 59 extern void RFCOMM_ParNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, UINT16 mtu, UINT8 cl, UINT8 k); 61 extern void RFCOMM_TestReq (UINT8 *p_data, UINT16 len); 66 extern void RFCOMM_FlowReq (tRFC_MCB *p_mcb, UINT8 dlci, UINT8 state); 68 extern void RFCOMM_PortNegReq (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars); 69 extern void RFCOMM_PortNegRsp (tRFC_MCB *p_mcb, UINT8 dlci, tPORT_STATE *p_pars, UINT16 param_mask); [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/smp/include/ |
D | smp_int.h | 46 typedef UINT8 tSMP_ASSO_MODEL; 130 typedef UINT8 tSMP_EVENT; 158 typedef UINT8 tSMP_STATE; 188 typedef UINT8 tSMP_BR_EVENT; 198 typedef UINT8 tSMP_BR_STATE; 228 UINT8 key_type; 229 UINT8 *p_data; 233 UINT8 *p_data; /* UINT8 type data pointer */ 266 UINT8 trace_level; 275 UINT8 failure; [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/include/bta/ |
D | bta_av_co.h | 69 UINT8 busy_level; /* Busy level indicating the bit-rate to be used */ 70 UINT8 codec_info[AVDT_CODEC_SIZE]; 71 UINT8 codec_type; /* Codec type */ 87 extern BOOLEAN bta_av_co_audio_init(UINT8 *p_codec_type, UINT8 *p_codec_info, 88 UINT8 *p_num_protect, UINT8 *p_protect_info, UINT8 tsep); 102 extern void bta_av_co_audio_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps, 103 UINT8 num_snk, UINT8 num_src, BD_ADDR addr, UINT16 uuid_local); 117 extern void bta_av_co_video_disc_res(tBTA_AV_HNDL hndl, UINT8 num_seps, 118 UINT8 num_snk, BD_ADDR addr); 132 extern UINT8 bta_av_co_audio_getconfig(tBTA_AV_HNDL hndl, tBTA_AV_CODEC codec_type, [all …]
|
D | bta_av_api.h | 48 typedef UINT8 tBTA_AV_STATUS; 73 typedef UINT8 tBTA_AV_CHNL; 77 typedef UINT8 tBTA_AV_HNDL; 79 #define BTA_AV_HNDL_TO_MSK(h) ((UINT8)(1 << (h))) 82 #define BTA_AV_HNDL_TYPE_TO_MSK(h) ((UINT8)(1 << (h&BTA_AV_HNDL_MSK))) 119 typedef UINT8 tBTA_AV_CODEC; 187 typedef UINT8 tBTA_AV_RC; 193 typedef UINT8 tBTA_AV_STATE; 202 typedef UINT8 tBTA_AV_CMD; 213 typedef UINT8 tBTA_AV_CODE; [all …]
|
D | bta_sys.h | 110 typedef UINT8 tBTA_SYS_ID; 129 typedef UINT8 tBTA_SYS_CONN_STATUS; 136 typedef UINT8 tBTA_SYS_PREF_ROLES; 139 typedef void (tBTA_SYS_CONN_CBACK)(tBTA_SYS_CONN_STATUS status, UINT8 id, UINT8 app_id, BD_ADDR pee… 142 typedef void (tBTA_SYS_SSR_CFG_CBACK)(UINT8 id, UINT8 app_id, UINT16 latency, UINT16 tout); 166 extern UINT8 appl_trace_level; 203 typedef UINT8 tBTA_SYS_HW_EVT; 219 extern void bta_sys_set_trace_level(UINT8 level); 220 extern void bta_sys_register(UINT8 id, const tBTA_SYS_REG *p_reg); 221 extern void bta_sys_deregister(UINT8 id); [all …]
|
D | bta_api.h | 51 typedef UINT8 tBTA_STATUS; 109 typedef UINT8 tBTA_SERVICE_ID; 164 UINT8 num_uuid; 234 typedef UINT8 tBTA_DM_INQ_MODE; 241 typedef UINT8 tBTA_DM_INQ_FILT; 248 typedef UINT8 tBTA_AUTH_RESP; 256 typedef UINT8 tBTA_PREF_ROLES; 289 UINT8 duration; /* Inquiry duration in 1.28 sec units. */ 290 …UINT8 max_resps; /* Maximum inquiry responses. Set to zero for unlimited respo… 295 …UINT8 intl_duration[4];/*duration array storing the interleave scan's time portions*/ [all …]
|
D | bta_hh_api.h | 96 typedef UINT8 tBTA_HH_PROTO_MODE; 102 typedef UINT8 tBTA_HH_BOOT_RPT_ID; 116 typedef UINT8 tBTA_HH_DEVT; 138 typedef UINT8 tBTA_HH_STATUS; 154 UINT8 app_id; /* corresponding application ID */ 159 UINT8 max_devt_spt; /* max number of types of devices spt */ 170 typedef UINT8 tBTA_HH_RPT_TYPE; 182 typedef UINT8 tBTA_HH_TRANS_CTRL_TYPE; 199 UINT8 ctry_code; /*Country Code.*/ 204 UINT8 flag; [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btm/include/ |
D | btm_int.h | 83 UINT8 type; 95 typedef UINT8 tBTM_PM_STATE; 124 UINT8 num_read_pages; 125 UINT8 lmp_version; 128 UINT8 link_role; 136 UINT8 legacy_auth_state; 144 UINT8 switch_role_state; 150 UINT8 encrypt_state; /* overall BTM encryption state */ 155 UINT8 conn_addr_type; /* local device address type for this connection */ 157 UINT8 active_remote_addr_type; /* local device address type for this connection */ [all …]
|
D | btm_ble_int.h | 82 typedef UINT8 tBTM_BLE_SEC_REQ_ACT; 119 UINT8 *p_flags; 120 UINT8 ad_data[BTM_BLE_AD_DATA_LEN]; 121 UINT8 *p_pad; 156 UINT8 scan_type; /* current scan type: active or passive */ 157 UINT8 scan_duplicate_filter; /* duplicate filter enabled for scan */ 165 UINT8 evt_type; 166 UINT8 adv_mode; 172 UINT8 adv_len; 173 UINT8 adv_data_cache[BTM_BLE_CACHE_ADV_DATA_MAX]; [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/hcic/ |
D | hciblecmds.c | 62 void btsnd_hci_ble_set_status(UINT8 hci_status) in btsnd_hci_ble_set_status() 71 BOOLEAN btsnd_hcic_ble_set_local_used_feat (UINT8 feat_set[8]) in btsnd_hcic_ble_set_local_used_feat() 74 UINT8 *pp; in btsnd_hcic_ble_set_local_used_feat() 80 pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_local_used_feat() 95 UINT8 *pp; in btsnd_hcic_ble_set_random_addr() 101 pp = (UINT8 *)(p + 1); in btsnd_hcic_ble_set_random_addr() 116 UINT8 adv_type, UINT8 addr_type_own, in btsnd_hcic_ble_write_adv_params() 117 UINT8 addr_type_dir, BD_ADDR direct_bda, in btsnd_hcic_ble_write_adv_params() 118 UINT8 channel_map, UINT8 adv_filter_policy) in btsnd_hcic_ble_write_adv_params() 121 UINT8 *pp; in btsnd_hcic_ble_write_adv_params() [all …]
|
D | hcicmds.c | 40 BOOLEAN btsnd_hcic_inquiry(const LAP inq_lap, UINT8 duration, UINT8 response_cnt) in btsnd_hcic_inquiry() 43 UINT8 *pp; in btsnd_hcic_inquiry() 49 pp = (UINT8 *)(p + 1); in btsnd_hcic_inquiry() 68 UINT8 *pp; in btsnd_hcic_inq_cancel() 74 pp = (UINT8 *)(p + 1); in btsnd_hcic_inq_cancel() 86 const LAP inq_lap, UINT8 duration, UINT8 response_cnt) in btsnd_hcic_per_inq_mode() 89 UINT8 *pp; in btsnd_hcic_per_inq_mode() 95 pp = (UINT8 *)(p + 1); in btsnd_hcic_per_inq_mode() 116 UINT8 *pp; in btsnd_hcic_exit_per_inq() 122 pp = (UINT8 *)(p + 1); in btsnd_hcic_exit_per_inq() [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/smp/ |
D | smp_keys.c | 74 void smp_debug_print_nbyte_little_endian(UINT8 *p, const UINT8 *key_name, UINT8 len) in smp_debug_print_nbyte_little_endian() 80 UINT8 p_buf[512]; in smp_debug_print_nbyte_little_endian() 97 void smp_debug_print_nbyte_big_endian (UINT8 *p, const UINT8 *key_name, UINT8 len) 100 UINT8 p_buf[512]; 132 BOOLEAN smp_encrypt_data (UINT8 *key, UINT8 key_len, in smp_encrypt_data() 133 UINT8 *plain_text, UINT8 pt_len, in smp_encrypt_data() 137 UINT8 *p_start = NULL; in smp_encrypt_data() 138 UINT8 *p = NULL; in smp_encrypt_data() 139 UINT8 *p_rev_data = NULL; /* input data in big endilan format */ in smp_encrypt_data() 140 UINT8 *p_rev_key = NULL; /* input key in big endilan format */ in smp_encrypt_data() [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/av/include/ |
D | bta_av_int.h | 148 …A_AV_CO_ID_TO_BE_STREAM(p, u32) {*(p)++ = (UINT8)((u32) >> 16); *(p)++ = (UINT8)((u32) >> 8); *(p)… 172 UINT8 app_id; 173 UINT8 tsep; // local SEP type 186 typedef UINT8 tBTA_AV_RS_RES; 213 UINT8 *p_data; 220 UINT8 *p_data; 222 UINT8 error_code; 229 UINT8 label; 236 UINT8 label; 253 UINT8 label; [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/btu/ |
D | btu_hcif.c | 50 extern void btm_process_cancel_complete(UINT8 status, UINT8 mode); 51 extern void btm_ble_test_command_complete(UINT8 *p); 56 static void btu_hcif_inquiry_comp_evt (UINT8 *p); 57 static void btu_hcif_inquiry_result_evt (UINT8 *p); 58 static void btu_hcif_inquiry_rssi_result_evt (UINT8 *p); 59 static void btu_hcif_extended_inquiry_result_evt (UINT8 *p); 61 static void btu_hcif_connection_comp_evt (UINT8 *p); 62 static void btu_hcif_connection_request_evt (UINT8 *p); 63 static void btu_hcif_disconnection_comp_evt (UINT8 *p); 65 static void btu_hcif_authentication_comp_evt (UINT8 *p); [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/avdt/ |
D | avdt_msg.c | 56 typedef void (*tAVDT_MSG_BLD)(UINT8 **p, tAVDT_MSG *p_msg); 59 typedef UINT8 (*tAVDT_MSG_PRS)(tAVDT_MSG *p_msg, UINT8 *p, UINT16 len); 66 static void avdt_msg_bld_none(UINT8 **p, tAVDT_MSG *p_msg); 67 static void avdt_msg_bld_single(UINT8 **p, tAVDT_MSG *p_msg); 68 static void avdt_msg_bld_setconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg); 69 static void avdt_msg_bld_reconfig_cmd(UINT8 **p, tAVDT_MSG *p_msg); 70 static void avdt_msg_bld_multi(UINT8 **p, tAVDT_MSG *p_msg); 71 static void avdt_msg_bld_security_cmd(UINT8 **p, tAVDT_MSG *p_msg); 72 static void avdt_msg_bld_discover_rsp(UINT8 **p, tAVDT_MSG *p_msg); 73 static void avdt_msg_bld_svccap(UINT8 **p, tAVDT_MSG *p_msg); [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/stack/gatt/include/ |
D | gatt_int.h | 32 #define GATT_CREATE_CONN_ID(tcb_idx, gatt_if) ((UINT16) ((((UINT8)(tcb_idx) ) << 8) | ((UINT8) (ga… 33 #define GATT_GET_TCB_IDX(conn_id) ((UINT8) (((UINT16) (conn_id)) >> 8)) 34 #define GATT_GET_GATT_IF(conn_id) ((tGATT_IF)((UINT8) (conn_id))) 36 #define GATT_GET_SR_REG_PTR(index) (&gatt_cb.sr_reg[(UINT8) (index)]); 50 typedef UINT8 tGATT_SEC_ACTION; 99 typedef UINT8 tGATT_SEC_FLAG; 115 UINT8 value[GATT_MAX_MTU_SIZE]; /* pointer to the attribute value to be found */ 136 UINT8 cmd_code; 137 UINT8 reason; 142 UINT8 op_code; [all …]
|
/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/sys/ |
D | bta_sys_conn.c | 102 void bta_sys_notify_role_chg(BD_ADDR_PTR p_bda, UINT8 new_role, UINT8 hci_status) in bta_sys_notify_role_chg() 119 void bta_sys_collision_register(UINT8 bta_id, tBTA_SYS_CONN_CBACK *p_cback) in bta_sys_collision_register() 121 UINT8 index; in bta_sys_collision_register() 145 UINT8 index; in bta_sys_notify_collision() 196 void bta_sys_conn_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_conn_open() 224 void bta_sys_conn_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_conn_close() 251 void bta_sys_app_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_app_open() 270 void bta_sys_app_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_app_close() 288 void bta_sys_sco_open(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_sco_open() 311 void bta_sys_sco_close(UINT8 id, UINT8 app_id, BD_ADDR peer_addr) in bta_sys_sco_close() [all …]
|