Home
last modified time | relevance | path

Searched refs:cmd_code (Results 1 – 12 of 12) sorted by relevance

/hal_espressif-3.7.0/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-3.7.0/components/bt/host/bluedroid/stack/gatt/
Datt_protocol.c105 BT_HDR *attp_build_err_cmd(UINT8 cmd_code, UINT16 err_handle, UINT8 reason) in attp_build_err_cmd() argument
114 UINT8_TO_STREAM (p, cmd_code); in attp_build_err_cmd()
435 p_cmd = attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, p_msg->error.reason); in attp_build_sr_msg()
497 tGATT_STATUS attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd) in attp_cl_send_cmd() argument
502 cmd_code &= ~GATT_AUTH_SIGN_MASK; in attp_cl_send_cmd()
506 cmd_code == GATT_HANDLE_VALUE_CONF) { in attp_cl_send_cmd()
510 if (cmd_code != GATT_HANDLE_VALUE_CONF && cmd_code != GATT_CMD_WRITE) { in attp_cl_send_cmd()
512 gatt_cmd_enq(p_tcb, clcb_idx, FALSE, cmd_code, NULL); in attp_cl_send_cmd()
519 gatt_cmd_enq(p_tcb, clcb_idx, TRUE, cmd_code, p_cmd); in attp_cl_send_cmd()
Dgatt_cl.c1074 UINT8 gatt_cmd_to_rsp_code (UINT8 cmd_code) in gatt_cmd_to_rsp_code() argument
1078 if (cmd_code > 1 && cmd_code != GATT_CMD_WRITE) { in gatt_cmd_to_rsp_code()
1079 rsp_code = cmd_code + 1; in gatt_cmd_to_rsp_code()
Dgatt_utils.c1558 error.cmd_code = op_code; in gatt_send_error_rsp()
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/l2cap/
Dl2c_main.c143 UINT8 cmd_code; in l2c_rcv_acl_data() local
151 STREAM_TO_UINT8 (cmd_code, p); in l2c_rcv_acl_data()
154 && (cmd_code == L2CAP_CMD_INFO_REQ || cmd_code == L2CAP_CMD_CONN_REQ)) { in l2c_rcv_acl_data()
157 rcv_cid, cmd_code, list_length(l2cb.rcv_pending_q)); in l2c_rcv_acl_data()
169 cmd_code, list_length(l2cb.rcv_pending_q)); in l2c_rcv_acl_data()
339 UINT8 cmd_code, cfg_code, cfg_len, id; in process_l2cap_cmd() local
379 STREAM_TO_UINT8 (cmd_code, p); in process_l2cap_cmd()
386 pkt_len, cmd_len, cmd_code); in process_l2cap_cmd()
390 L2CAP_TRACE_DEBUG ("cmd_code: %d, id:%d, cmd_len:%d", cmd_code, id, cmd_len); in process_l2cap_cmd()
395 if (l2c_is_cmd_rejected(cmd_code, id, p_lcb)) { in process_l2cap_cmd()
[all …]
Dl2c_ble.c715 UINT8 cmd_code, id; in l2cble_process_sig_cmd() local
721 STREAM_TO_UINT8 (cmd_code, p); in l2cble_process_sig_cmd()
727 …NING ("L2CAP - LE - format error, pkt_len: %d cmd_len: %d code: %d", pkt_len, cmd_len, cmd_code); in l2cble_process_sig_cmd()
731 switch (cmd_code) { in l2cble_process_sig_cmd()
860 L2CAP_TRACE_WARNING ("L2CAP - LE - unknown cmd code: %d", cmd_code); in l2cble_process_sig_cmd()
Dl2c_utils.c384 BOOLEAN l2c_is_cmd_rejected (UINT8 cmd_code, UINT8 id, tL2C_LCB *p_lcb) in l2c_is_cmd_rejected() argument
386 switch (cmd_code) { in l2c_is_cmd_rejected()
396 L2CAP_TRACE_WARNING ("Dumping first Command (%d)", cmd_code); in l2c_is_cmd_rejected()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/av/
Dbta_av_api.c452 void BTA_AvVendorCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_CODE cmd_code, UINT8 *p_data, UINT16 len) in BTA_AvVendorCmd() argument
459 p_buf->msg.hdr.ctype = cmd_code; in BTA_AvVendorCmd()
600 void BTA_AvMetaCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_CMD cmd_code, BT_HDR *p_pkt) in BTA_AvMetaCmd() argument
608 p_buf->rsp_code = cmd_code; in BTA_AvMetaCmd()
/hal_espressif-3.7.0/components/bt/host/bluedroid/bta/include/bta/
Dbta_av_api.h795 void BTA_AvVendorCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_CODE cmd_code,
866 void BTA_AvMetaCmd(UINT8 rc_handle, UINT8 label, tBTA_AV_CMD cmd_code, BT_HDR *p_pkt);
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/smp/include/
Dsmp_int.h475 extern BOOLEAN smp_send_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/l2cap/include/
Dl2c_int.h618 extern BOOLEAN l2c_is_cmd_rejected (UINT8 cmd_code, UINT8 id, tL2C_LCB *p_lcb);
/hal_espressif-3.7.0/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h136 UINT8 cmd_code; member