/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/ |
D | smp_utils.c | 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); 140 static BT_HDR *smp_build_master_id_cmd(UINT8 cmd_code, tSMP_CB *p_cb); [all …]
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/ |
D | att_protocol.c | 105 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() 425 p_cmd = attp_build_err_cmd(p_msg->error.cmd_code, p_msg->error.handle, p_msg->error.reason); in attp_build_sr_msg() 487 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 492 cmd_code &= ~GATT_AUTH_SIGN_MASK; in attp_cl_send_cmd() 496 cmd_code == GATT_HANDLE_VALUE_CONF) { in attp_cl_send_cmd() 500 if (cmd_code != GATT_HANDLE_VALUE_CONF && cmd_code != GATT_CMD_WRITE) { in attp_cl_send_cmd() 502 gatt_cmd_enq(p_tcb, clcb_idx, 0, cmd_code, NULL); in attp_cl_send_cmd() 509 gatt_cmd_enq(p_tcb, clcb_idx, 1, cmd_code, p_cmd); in attp_cl_send_cmd()
|
D | gatt_cl.c | 1008 UINT8 gatt_cmd_to_rsp_code (UINT8 cmd_code) in gatt_cmd_to_rsp_code() argument 1012 if (cmd_code > 1 && cmd_code != GATT_CMD_WRITE) { in gatt_cmd_to_rsp_code() 1013 rsp_code = cmd_code + 1; in gatt_cmd_to_rsp_code()
|
D | gatt_utils.c | 1534 error.cmd_code = op_code; in gatt_send_error_rsp()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/l2cap/ |
D | l2c_main.c | 143 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 …]
|
D | l2c_ble.c | 679 UINT8 cmd_code, id; in l2cble_process_sig_cmd() local 685 STREAM_TO_UINT8 (cmd_code, p); in l2cble_process_sig_cmd() 691 …NING ("L2CAP - LE - format error, pkt_len: %d cmd_len: %d code: %d", pkt_len, cmd_len, cmd_code); in l2cble_process_sig_cmd() 695 switch (cmd_code) { in l2cble_process_sig_cmd() 761 L2CAP_TRACE_WARNING ("L2CAP - LE - unknown cmd code: %d", cmd_code); in l2cble_process_sig_cmd()
|
D | l2c_utils.c | 384 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()
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/smp/include/ |
D | smp_int.h | 475 extern BOOLEAN smp_send_cmd(UINT8 cmd_code, tSMP_CB *p_cb);
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/l2cap/include/ |
D | l2c_int.h | 618 extern BOOLEAN l2c_is_cmd_rejected (UINT8 cmd_code, UINT8 id, tL2C_LCB *p_lcb);
|
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/include/ |
D | gatt_int.h | 136 UINT8 cmd_code; member
|
/device/soc/winnermicro/wm800/board/src/app/wm_atcmd/ |
D | wm_cmdp_hostif.c | 5384 int cmd_code = cmd->cmd_hdr.code; in tls_hostif_ricmd_exec() local 5387 if (cmd_code == 0) { in tls_hostif_ricmd_exec() 5392 if (cmd_code == at_ri_cmd_tbl[i].ri_cmd_id) { in tls_hostif_ricmd_exec() 5422 err = ri_parse_func(cmd_code, buf, length, &cmd->params); in tls_hostif_ricmd_exec() 5432 … err = ri_format_func(cmd_code, set_opt, update_flash, &cmdrsp->params, cmdrsp_buf, cmdrsp_size); in tls_hostif_ricmd_exec()
|