Lines Matching refs:tcb

375 tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB& tcb, uint16_t lcid,  in attp_send_msg_to_l2cap()  argument
381 l2cap_ret = L2CA_SendFixedChnlData(lcid, tcb.peer_bda, p_toL2CAP); in attp_send_msg_to_l2cap()
398 BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code, tGATT_SR_MSG* p_msg, in attp_build_sr_msg() argument
405 op_code, tcb.peer_bda); in attp_build_sr_msg()
457 tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, uint16_t cid, BT_HDR* p_msg) { in attp_send_sr_msg() argument
465 return attp_send_msg_to_l2cap(tcb, cid, p_msg); in attp_send_sr_msg()
480 static tGATT_STATUS attp_cl_send_cmd(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in attp_cl_send_cmd() argument
484 if (gatt_tcb_is_cid_busy(tcb, p_clcb->cid) && in attp_cl_send_cmd()
486 if (gatt_cmd_enq(tcb, p_clcb, true, cmd_code, p_cmd)) { in attp_cl_send_cmd()
492 log::error("{}, cid 0x{:02x} already disconnected", tcb.peer_bda, in attp_cl_send_cmd()
499 p_clcb->cid, tcb.eatt, bt_transport_text(tcb.transport)); in attp_cl_send_cmd()
500 tGATT_STATUS att_ret = attp_send_msg_to_l2cap(tcb, p_clcb->cid, p_cmd); in attp_cl_send_cmd()
515 if (!gatt_cmd_enq(tcb, p_clcb, false, cmd_code, NULL)) { in attp_cl_send_cmd()
518 tcb.peer_bda, p_clcb->cid); in attp_cl_send_cmd()
539 tGATT_STATUS attp_send_cl_confirmation_msg(tGATT_TCB& tcb, uint16_t cid) { in attp_send_cl_confirmation_msg() argument
546 tGATT_STATUS att_ret = attp_send_msg_to_l2cap(tcb, cid, p_cmd); in attp_send_cl_confirmation_msg()
570 tGATT_STATUS attp_send_cl_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, in attp_send_cl_msg() argument
580 uint16_t payload_size = gatt_tcb_get_payload_size(tcb, p_clcb->cid); in attp_send_cl_msg()
583 op_code, tcb.peer_bda); in attp_send_cl_msg()
670 return attp_cl_send_cmd(tcb, p_clcb, op_code, p_cmd); in attp_send_cl_msg()