/device/soc/esp/esp32/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 | 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 | btm_api.h | 100 typedef UINT8 tBTM_DEVICE_ROLE; 103 typedef UINT8 tBTM_BD_NAME[BTM_MAX_REM_BD_NAME_LEN + 1]; 107 UINT8 hci_version; 109 UINT8 lmp_version; 118 UINT8 *p_param_buf; 136 typedef UINT8 tBTM_DEV_STATUS; 164 typedef void (tBTM_VS_EVT_CB) (UINT8 len, UINT8 *p); 183 typedef UINT8 (tBTM_FILTER_CB) (BD_ADDR bd_addr, DEV_CLASS dc); 185 typedef void (tBTM_UPDATE_CONN_PARAM_CBACK) (UINT8 status, BD_ADDR bd_addr, tBTM_LE_UPDATE_CONN_PRA… 187 typedef void (tBTM_SET_PKT_DATA_LENGTH_CBACK) (UINT8 status, tBTM_LE_SET_PKT_DATA_LENGTH_PARAMS *da… [all …]
|
D | smp_api.h | 67 typedef UINT8 tSMP_EVT; 107 typedef UINT8 tSMP_STATUS; 117 typedef UINT8 tSMP_IO_CAP; 129 typedef UINT8 tSMP_OOB_FLAG; 138 typedef UINT8 tSMP_OOB_DATA_TYPE; 179 typedef UINT8 tSMP_AUTH_REQ; 184 typedef UINT8 tSMP_SEC_LEVEL; 195 typedef UINT8 tSMP_KEYS; 210 typedef UINT8 tSMP_SC_KEY_TYPE; 217 UINT8 max_key_size; /* max encryption key size */ [all …]
|
/device/soc/esp/esp32/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 …]
|
D | port_int.h | 72 UINT8 modem_signal; /* [DTR/DSR | RTS/CTS | RI | DCD ] */ 74 UINT8 break_signal; /* 0-3 s in steps of 200 ms */ 76 UINT8 discard_buffers; /* 0 - do not discard, 1 - discard */ 81 UINT8 break_signal_seq; /* as soon as possible | in sequence (default) */ 93 UINT8 port_inx[RFCOMM_MAX_DLCI + 1]; /* Array for quick access to */ 98 UINT8 state; /* Current multiplexer channel state */ 99 UINT8 is_initiator; /* 1 if this side sends SABME (dlci=0) */ 104 UINT8 flow; /* flow control mechanism for this mux */ 108 UINT8 pending_id; /* store l2cap ID for incoming connection while connecting */ 122 UINT8 state; /* Current state of the connection */ [all …]
|
/device/soc/esp/esp32/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 …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/include/bta/ |
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, 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 | 95 typedef UINT8 tBTA_HH_PROTO_MODE; 101 typedef UINT8 tBTA_HH_BOOT_RPT_ID; 115 typedef UINT8 tBTA_HH_DEVT; 137 typedef UINT8 tBTA_HH_STATUS; 153 UINT8 app_id; /* corresponding application ID */ 158 UINT8 max_devt_spt; /* max number of types of devices spt */ 169 typedef UINT8 tBTA_HH_RPT_TYPE; 181 typedef UINT8 tBTA_HH_TRANS_CTRL_TYPE; 198 UINT8 ctry_code; /*Country Code.*/ 203 UINT8 flag; [all …]
|
D | bta_hh_co.h | 31 UINT8 rpt_id; 33 UINT8 inst_id; 34 UINT8 prop; 48 extern void bta_hh_co_data(UINT8 dev_handle, UINT8 *p_rpt, UINT16 len, 49 tBTA_HH_PROTO_MODE mode, UINT8 sub_class, 50 UINT8 ctry_code, BD_ADDR peer_addr, UINT8 app_id); 63 extern void bta_hh_co_open(UINT8 dev_handle, UINT8 sub_class, 64 UINT16 attr_mask, UINT8 app_id); 76 extern void bta_hh_co_close(UINT8 dev_handle, UINT8 app_id); 97 UINT8 app_id); [all …]
|
/device/soc/esp/esp32/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 …]
|
/device/soc/esp/esp32/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 …]
|
/device/soc/esp/esp32/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 …]
|
D | smp_utils.c | 58 static const UINT8 smp_cmd_size_per_spec[] = { 130 typedef BT_HDR *(*tSMP_CMD_ACT)(UINT8 cmd_code, tSMP_CB *p_cb); 132 static BT_HDR *smp_build_pairing_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 133 static BT_HDR *smp_build_confirm_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 134 static BT_HDR *smp_build_rand_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 135 static BT_HDR *smp_build_pairing_fail(UINT8 cmd_code, tSMP_CB *p_cb); 136 static BT_HDR *smp_build_identity_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 137 static BT_HDR *smp_build_encrypt_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb); 138 static BT_HDR *smp_build_security_request(UINT8 cmd_code, tSMP_CB *p_cb); 139 static BT_HDR *smp_build_signing_info_cmd(UINT8 cmd_code, tSMP_CB *p_cb); [all …]
|
D | smp_cmac.c | 37 UINT8 *text; 50 void print128(BT_OCTET16 x, const UINT8 *key_name) in print128() 53 UINT8 *p = (UINT8 *)x; in print128() 54 UINT8 i; in print128() 78 static void padding ( BT_OCTET16 dest, UINT8 length ) in padding() 80 UINT8 i, *p = dest; in padding() 95 static void leftshift_onebit(UINT8 *input, UINT8 *output) in leftshift_onebit() 97 UINT8 i, overflow = 0 , next_overflow = 0; in leftshift_onebit() 133 static BOOLEAN cmac_aes_k_calculate(BT_OCTET16 key, UINT8 *p_signature, UINT16 tlen) in cmac_aes_k_calculate() 136 UINT8 i = 1, err = 0; in cmac_aes_k_calculate() [all …]
|
/device/soc/esp/esp32/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 …]
|
/device/soc/esp/esp32/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 …]
|
/device/soc/esp/esp32/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 …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/bta/hh/include/ |
D | bta_hh_int.h | 101 typedef UINT8 tBTA_HH_STATE; 106 UINT8 t_type; 107 UINT8 param; 108 UINT8 rpt_id; 110 UINT8 srvc_id; 119 UINT8 sec_mask; 120 UINT8 service_name[BTA_SERVICE_NAME_LEN + 1]; 127 UINT8 sec_mask; 144 UINT8 sub_class; 145 UINT8 app_id; [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/common/include/common/ |
D | bte_appl.h | 29 UINT8 ble_auth_req; 30 UINT8 ble_io_cap; 31 UINT8 ble_init_key; 32 UINT8 ble_resp_key; 33 UINT8 ble_max_key_size; 34 UINT8 ble_min_key_size; 35 UINT8 ble_accept_auth_enable; 36 UINT8 oob_support; 37 UINT8 ble_appl_enc_key_size; 47 UINT8 bt_auth_req; [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/sdp/include/ |
D | sdpint.h | 97 UINT8 value[MAX_UUID_SIZE]; 121 UINT8 *value_ptr; /* Points to attr_pad */ 123 UINT8 type; 132 UINT8 attr_pad[SDP_MAX_PAD_LEN]; 165 UINT8 con_state; 170 UINT8 con_flags; 177 UINT8 *rsp_list; /* pointer to GKI buffer holding response */ 199 UINT8 disc_state; 200 UINT8 is_attr_search; 221 UINT8 trace_level; [all …]
|