Lines Matching full:p_tcb
355 BOOLEAN attp_send_msg_to_L2CAP(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP)
360 if (p_tcb->att_lcid == L2CAP_ATT_CID)
361 l2cap_ret = L2CA_SendFixedChnlData (L2CAP_ATT_CID, p_tcb->peer_bda, p_toL2CAP);
363 l2cap_ret = (UINT16) L2CA_DataWrite (p_tcb->att_lcid, p_toL2CAP);
385 BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg)
404 p_cmd = attp_build_value_cmd(p_tcb->payload_size,
446 ** Parameter p_tcb: pointer to the connecton control block.
453 tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg)
457 if (p_tcb != NULL)
463 if (attp_send_msg_to_L2CAP (p_tcb, p_msg))
481 UINT8 attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd)
485 if (p_tcb != NULL)
489 if (p_tcb->pending_cl_req == p_tcb->next_slot_inq ||
493 if (attp_send_msg_to_L2CAP(p_tcb, p_cmd))
498 gatt_start_rsp_timer (p_tcb);
499 gatt_cmd_enq(p_tcb, clcb_idx, FALSE, cmd_code, NULL);
508 gatt_cmd_enq(p_tcb, clcb_idx, TRUE, cmd_code, p_cmd);
523 ** Parameter p_tcb: pointer to the connectino control block.
532 tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg)
538 if (p_tcb != NULL)
545 p_tcb->payload_size = p_msg->mtu;
594 p_cmd = attp_build_value_cmd (p_tcb->payload_size,
609 p_cmd = attp_build_read_handles_cmd(p_tcb->payload_size, &p_msg->find_type_value);
613 p_cmd = attp_build_read_multi_cmd(p_tcb->payload_size,
623 status = attp_cl_send_cmd(p_tcb, clcb_idx, op_code, p_cmd);