Home
last modified time | relevance | path

Searched refs:BT_HDR (Results 1 – 25 of 160) sorted by relevance

1234567

/hal_espressif-latest/components/bt/host/bluedroid/hci/include/hci/
Dhci_packet_factory.h26 BT_HDR *(*make_reset)(void);
27 BT_HDR *(*make_read_buffer_size)(void);
28 BT_HDR *(*make_set_c2h_flow_control)(uint8_t enable);
29BT_HDR *(*make_set_adv_report_flow_control)(uint8_t enable, uint16_t num, uint16_t lost_threshold);
30BT_HDR *(*make_host_buffer_size)(uint16_t acl_size, uint8_t sco_size, uint16_t acl_count, uint16_t…
31 BT_HDR *(*make_read_local_version_info)(void);
32 BT_HDR *(*make_read_bd_addr)(void);
33 BT_HDR *(*make_read_local_supported_commands)(void);
34 BT_HDR *(*make_read_local_supported_features)(void);
35 BT_HDR *(*make_read_local_extended_features)(uint8_t page_number);
[all …]
Dhci_packet_parser.h32 void (*parse_generic_command_complete)(BT_HDR *response);
35 BT_HDR *response,
43 BT_HDR *response,
48 BT_HDR *response,
53 BT_HDR *response,
59 BT_HDR *response,
64 BT_HDR *response,
72 BT_HDR *response,
77 BT_HDR *response,
83 BT_HDR *response,
[all …]
Dpacket_fragmenter.h26 typedef void (*transmit_finished_cb)(BT_HDR *packet, bool all_fragments_sent);
27 typedef void (*packet_reassembled_cb)(BT_HDR *packet);
28 typedef void (*packet_fragmented_cb)(BT_HDR *packet, bool send_transmit_finished);
50 BT_HDR *(*fragment_current_packet)(void);
53 void (*fragment_and_dispatch)(BT_HDR *packet);
57 void (*reassemble_and_dispatch)(BT_HDR *packet);
/hal_espressif-latest/components/bt/host/bluedroid/hci/
Dhci_packet_factory.c30 static BT_HDR *make_command_no_params(uint16_t opcode);
31 static BT_HDR *make_command(uint16_t opcode, size_t parameter_size, uint8_t **stream_out);
35 static BT_HDR *make_reset(void) in make_reset()
40 static BT_HDR *make_read_buffer_size(void) in make_read_buffer_size()
45 static BT_HDR *make_set_c2h_flow_control(uint8_t enable) in make_set_c2h_flow_control()
49 BT_HDR *packet = make_command(HCI_SET_HC_TO_HOST_FLOW_CTRL, parameter_size, &stream); in make_set_c2h_flow_control()
55 static BT_HDR *make_set_adv_report_flow_control(uint8_t enable, uint16_t num, uint16_t lost_thresho… in make_set_adv_report_flow_control()
59 BT_HDR *packet = make_command(HCI_VENDOR_BLE_SET_ADV_FLOW_CONTROL, parameter_size, &stream); in make_set_adv_report_flow_control()
67 static BT_HDR *make_host_buffer_size(uint16_t acl_size, uint8_t sco_size, uint16_t acl_count, uint1… in make_host_buffer_size()
71 BT_HDR *packet = make_command(HCI_HOST_BUFFER_SIZE, parameter_size, &stream); in make_host_buffer_size()
[all …]
Dhci_packet_parser.c29 BT_HDR *response,
33 static void parse_generic_command_complete(BT_HDR *response) in parse_generic_command_complete()
41 BT_HDR *response, in parse_read_buffer_size_response()
58 BT_HDR *response, in parse_read_local_version_info_response()
74 BT_HDR *response, in parse_read_bd_addr_response()
86 BT_HDR *response, in parse_read_local_supported_commands_response()
99 BT_HDR *response, in parse_read_local_supported_features_response()
110 BT_HDR *response, in parse_read_local_extended_features_response()
133 BT_HDR *response, in parse_ble_read_white_list_size_response()
145 BT_HDR *response, in parse_ble_read_buffer_size_response()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/dm/include/
Dbta_dm_int.h244 BT_HDR hdr;
250 BT_HDR hdr;
255 BT_HDR hdr;
260 BT_HDR hdr;
269 BT_HDR hdr;
284 BT_HDR hdr;
291 BT_HDR hdr;
299 BT_HDR hdr;
309 BT_HDR hdr;
315 BT_HDR hdr;
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/gatt/
Datt_protocol.c47 BT_HDR *attp_build_mtu_cmd(UINT8 op_code, UINT16 rx_mtu) in attp_build_mtu_cmd()
49 BT_HDR *p_buf = NULL; in attp_build_mtu_cmd()
52 if ((p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR) + GATT_HDR_SIZE + L2CAP_MIN_OFFSET)) != NULL) { in attp_build_mtu_cmd()
72 BT_HDR *attp_build_exec_write_cmd (UINT8 op_code, UINT8 flag) in attp_build_exec_write_cmd()
74 BT_HDR *p_buf = NULL; in attp_build_exec_write_cmd()
77 if ((p_buf = (BT_HDR *)osi_malloc(GATT_DATA_BUF_SIZE)) != NULL) { in attp_build_exec_write_cmd()
105 BT_HDR *attp_build_err_cmd(UINT8 cmd_code, UINT16 err_handle, UINT8 reason) in attp_build_err_cmd()
107 BT_HDR *p_buf = NULL; in attp_build_err_cmd()
110 if ((p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR) + L2CAP_MIN_OFFSET + 5)) != NULL) { in attp_build_err_cmd()
133 BT_HDR *attp_build_browse_cmd(UINT8 op_code, UINT16 s_hdl, UINT16 e_hdl, tBT_UUID uuid) in attp_build_browse_cmd()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_client/
Dbta_hf_client_api.c117 BT_HDR *p_buf; in BTA_HfClientDisable()
119 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HfClientDisable()
166 BT_HDR *p_buf; in BTA_HfClientDeregister()
168 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HfClientDeregister()
214 BT_HDR *p_buf; in BTA_HfClientClose()
216 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HfClientClose()
236 BT_HDR *p_buf; in BTA_HfClientAudioOpen()
238 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HfClientAudioOpen()
258 BT_HDR *p_buf; in BTA_HfClientAudioClose()
260 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HfClientAudioClose()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/hf_ag/
Dbta_ag_api.c94 BT_HDR *p_buf; in BTA_AgDisable()
95 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AgDisable()
147 BT_HDR *p_buf; in BTA_AgDeregister()
148 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AgDeregister()
195 BT_HDR *p_buf; in BTA_AgClose()
197 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AgClose()
217 BT_HDR *p_buf; in BTA_AgAudioOpen()
219 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AgAudioOpen()
239 BT_HDR *p_buf; in BTA_AgAudioClose()
241 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AgAudioClose()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/smp/
Dsmp_utils.c130 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);
140 static BT_HDR *smp_build_master_id_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/jv/include/
Dbta_jv_int.h87 BT_HDR hdr;
93 BT_HDR hdr;
99 BT_HDR hdr;
181 BT_HDR hdr;
200 BT_HDR hdr;
218 BT_HDR hdr;
227 BT_HDR hdr;
238 BT_HDR hdr;
249 BT_HDR hdr;
263 BT_HDR hdr;
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/include/
Dbta_gatts_int.h69 BT_HDR hdr;
75 BT_HDR hdr;
82 BT_HDR hdr;
92 BT_HDR hdr;
101 BT_HDR hdr;
106 BT_HDR hdr;
114 BT_HDR hdr;
122 BT_HDR hdr;
129 BT_HDR hdr;
135 BT_HDR hdr;
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/avrc/
Davrc_opt.c49 static BT_HDR *avrc_vendor_msg(tAVRC_MSG_VENDOR *p_msg) in avrc_vendor_msg()
51 BT_HDR *p_cmd; in avrc_vendor_msg()
58 if ((p_cmd = (BT_HDR *) osi_malloc(AVRC_META_CMD_BUF_SIZE)) != NULL) in avrc_vendor_msg()
61 if ((p_cmd = (BT_HDR *) osi_malloc(AVRC_CMD_BUF_SIZE)) != NULL) in avrc_vendor_msg()
102 BT_HDR *p_cmd; in AVRC_UnitCmd()
105 if ((p_cmd = (BT_HDR *) osi_malloc(AVRC_CMD_BUF_SIZE)) != NULL) { in AVRC_UnitCmd()
146 BT_HDR *p_cmd; in AVRC_SubCmd()
149 if ((p_cmd = (BT_HDR *) osi_malloc(AVRC_CMD_BUF_SIZE)) != NULL) { in AVRC_SubCmd()
189 BT_HDR *p_buf = avrc_vendor_msg(p_msg); in AVRC_VendorCmd()
225 BT_HDR *p_buf = avrc_vendor_msg(p_msg); in AVRC_VendorRsp()
Davrc_bld_ct.c43 static tAVRC_STS avrc_bld_next_cmd (tAVRC_NEXT_CMD *p_cmd, BT_HDR *p_pkt) in avrc_bld_next_cmd()
76 static tAVRC_STS avrc_bld_set_abs_volume_cmd (tAVRC_SET_VOLUME_CMD *p_cmd, BT_HDR *p_pkt) in avrc_bld_set_abs_volume_cmd()
101 static tAVRC_STS avrc_bld_register_change_notfn(UINT8 event_id, UINT32 event_parameter, BT_HDR *p_p… in avrc_bld_register_change_notfn()
129 static BT_HDR *avrc_bld_init_cmd_buffer(tAVRC_COMMAND *p_cmd) in avrc_bld_init_cmd_buffer()
146 BT_HDR *p_pkt = (BT_HDR *)osi_malloc(AVRC_META_CMD_BUF_SIZE); in avrc_bld_init_cmd_buffer()
187 static tAVRC_STS avrc_bld_set_player_value_cmd(tAVRC_SET_APP_VALUE_CMD *p_cmd, BT_HDR *p_pkt) in avrc_bld_set_player_value_cmd()
215 static tAVRC_STS avrc_bld_get_element_attr_cmd (tAVRC_GET_ELEM_ATTRS_CMD *p_cmd, BT_HDR *p_pkt) in avrc_bld_get_element_attr_cmd()
240 static tAVRC_STS avrc_bld_get_caps_cmd(tAVRC_GET_CAPS_CMD *p_cmd, BT_HDR *p_pkt) in avrc_bld_get_caps_cmd()
267 tAVRC_STS AVRC_BldCommand( tAVRC_COMMAND *p_cmd, BT_HDR **pp_pkt) in AVRC_BldCommand()
270 BT_HDR *p_pkt; in AVRC_BldCommand()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hd/
Dbta_hd_api.c72 BT_HDR *p_buf; in BTA_HdDisable()
75 if ((p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HdDisable()
135 BT_HDR *p_buf; in BTA_HdUnregisterApp()
137 if ((p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HdUnregisterApp()
182 BT_HDR *p_buf; in BTA_HdVirtualCableUnplug()
184 if ((p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HdVirtualCableUnplug()
223 BT_HDR *p_buf; in BTA_HdDisconnect()
225 if ((p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HdDisconnect()
/hal_espressif-latest/components/bt/host/bluedroid/bta/hd/include/
Dbta_hd_int.h57 BT_HDR hdr;
71 BT_HDR hdr;
85 BT_HDR hdr;
94 BT_HDR hdr;
99 BT_HDR hdr;
105 BT_HDR hdr;
114 BT_HDR hdr;
117 BT_HDR *p_data;
145 extern bool bta_hd_hdl_event(BT_HDR *p_msg);
/hal_espressif-latest/components/bt/host/bluedroid/stack/hcic/
Dhcicmds.c40 BT_HDR *p; in btsnd_hcic_inquiry()
65 BT_HDR *p; in btsnd_hcic_inq_cancel()
86 BT_HDR *p; in btsnd_hcic_per_inq_mode()
113 BT_HDR *p; in btsnd_hcic_exit_per_inq()
136 BT_HDR *p; in btsnd_hcic_create_conn()
174 BT_HDR *p; in btsnd_hcic_disconnect()
199 BT_HDR *p; in btsnd_hcic_add_SCO_conn()
224 BT_HDR *p; in btsnd_hcic_create_conn_cancel()
247 BT_HDR *p; in btsnd_hcic_accept_conn()
272 BT_HDR *p; in btsnd_hcic_reject_conn()
[all …]
Dhciblecmds.c72 BT_HDR *p; in btsnd_hcic_ble_set_local_used_feat()
93 BT_HDR *p; in btsnd_hcic_ble_set_random_addr()
119 BT_HDR *p; in btsnd_hcic_ble_write_adv_params()
147 BT_HDR *p; in btsnd_hcic_ble_read_adv_chnl_tx_power()
169 BT_HDR *p; in btsnd_hcic_ble_set_adv_data()
206 BT_HDR *p; in btsnd_hcic_ble_set_scan_rsp_data()
242 BT_HDR *p; in btsnd_hcic_ble_set_adv_enable()
266 BT_HDR *p; in btsnd_hcic_ble_set_scan_params()
293 BT_HDR *p; in btsnd_hcic_ble_set_scan_enable()
324 BT_HDR *p; in btsnd_hcic_ble_create_ll_conn()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/include/stack/
Dbtu.h37 void (*callback)(BT_HDR *);
41 void (*callback)(BT_HDR *);
42 BT_HDR *response;
47 void (*callback)(BT_HDR *);
49 BT_HDR *command;
56 typedef void (*tBTU_EVENT_CALLBACK)(BT_HDR *p_hdr);
256 void btu_uipc_rx_cback(BT_HDR *p_msg);
275 void btu_hcif_process_event (UINT8 controller_id, BT_HDR *p_buf);
276 void btu_hcif_send_cmd (UINT8 controller_id, BT_HDR *p_msg);
278 UINT8 btu_hcif_send_cmd_sync (UINT8 controller_id, BT_HDR *p_buf);
/hal_espressif-latest/components/bt/host/bluedroid/bta/sdp/include/
Dbta_sdp_int.h58 BT_HDR hdr;
64 BT_HDR hdr;
71 BT_HDR hdr;
78 BT_HDR hdr;
103 extern BOOLEAN bta_sdp_sm_execute(BT_HDR *p_msg);
/hal_espressif-latest/components/bt/host/bluedroid/bta/hh/
Dbta_hh_api.c95 BT_HDR *p_buf; in BTA_HhDisable()
98 if ((p_buf = (BT_HDR *)osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_HhDisable()
115 BT_HDR *p_buf; in BTA_HhClose()
117 if ((p_buf = (BT_HDR *)osi_malloc((UINT16)sizeof(BT_HDR))) != NULL) { in BTA_HhClose()
118 memset(p_buf, 0, sizeof(BT_HDR)); in BTA_HhClose()
163 UINT16 data, UINT8 rpt_id, BT_HDR *p_data) in bta_hh_snd_write_dev()
194 void BTA_HhSetReport(UINT8 dev_handle, tBTA_HH_RPT_TYPE r_type, BT_HDR *p_data) in BTA_HhSetReport()
299 void BTA_HhSendData(UINT8 dev_handle, BD_ADDR dev_bda, BT_HDR *p_data) in BTA_HhSendData()
322 BT_HDR *p_buf; in BTA_HhGetDscpInfo()
324 if ((p_buf = (BT_HDR *)osi_malloc((UINT16)sizeof(BT_HDR))) != NULL) { in BTA_HhGetDscpInfo()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/include/
Dbta_av_int.h166 BT_HDR hdr;
174 BT_HDR hdr;
193 BT_HDR hdr;
203 BT_HDR hdr;
210 BT_HDR hdr;
216 BT_HDR hdr;
223 BT_HDR hdr;
231 BT_HDR hdr;
238 BT_HDR hdr;
245 BT_HDR hdr;
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/sdp/include/
Dsdpint.h67 #define SDP_DEVICE_NOTI_LEN sizeof (BT_HDR) + \
252 extern void sdp_conn_rcv_l2e_conn_ind (BT_HDR *p_msg);
253 extern void sdp_conn_rcv_l2e_conn_cfm (BT_HDR *p_msg);
254 extern void sdp_conn_rcv_l2e_disc (BT_HDR *p_msg);
255 extern void sdp_conn_rcv_l2e_config_ind (BT_HDR *p_msg);
256 extern void sdp_conn_rcv_l2e_config_cfm (BT_HDR *p_msg);
257 extern void sdp_conn_rcv_l2e_conn_failed (BT_HDR *p_msg);
258 extern void sdp_conn_rcv_l2e_connected (BT_HDR *p_msg);
259 extern void sdp_conn_rcv_l2e_conn_failed (BT_HDR *p_msg);
260 extern void sdp_conn_rcv_l2e_data (BT_HDR *p_msg);
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/stack/rfcomm/
Drfc_ts_frames.c46 BT_HDR *p_buf; in rfc_send_sabme()
50 if ((p_buf = (BT_HDR *)osi_malloc(RFCOMM_CMD_BUF_SIZE)) == NULL) { in rfc_send_sabme()
79 BT_HDR *p_buf; in rfc_send_ua()
83 if ((p_buf = (BT_HDR *)osi_malloc(RFCOMM_CMD_BUF_SIZE)) == NULL) { in rfc_send_ua()
112 BT_HDR *p_buf; in rfc_send_dm()
116 if ((p_buf = (BT_HDR *)osi_malloc(RFCOMM_CMD_BUF_SIZE)) == NULL) { in rfc_send_dm()
145 BT_HDR *p_buf; in rfc_send_disc()
149 if ((p_buf = (BT_HDR *)osi_malloc(RFCOMM_CMD_BUF_SIZE)) == NULL) { in rfc_send_disc()
176 void rfc_send_buf_uih (tRFC_MCB *p_mcb, UINT8 dlci, BT_HDR *p_buf) in rfc_send_buf_uih()
237 BT_HDR *p_buf; in rfc_send_pn()
[all …]
/hal_espressif-latest/components/bt/host/bluedroid/bta/av/
Dbta_av_api.c86 BT_HDR *p_buf; in BTA_AvDisable()
89 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AvDisable()
143 BT_HDR *p_buf; in BTA_AvDeregister()
145 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AvDeregister()
191 BT_HDR *p_buf; in BTA_AvClose()
193 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AvClose()
231 BT_HDR *p_buf; in BTA_AvStart()
233 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AvStart()
251 BT_HDR *p_buf; in BTA_AvEnable_Sink()
252 if ((p_buf = (BT_HDR *) osi_malloc(sizeof(BT_HDR))) != NULL) { in BTA_AvEnable_Sink()
[all …]

1234567