Lines Matching defs:tGATT_TCB

297 } tGATT_TCB;
307 tGATT_TCB* p_tcb; /* associated TCB of this CLCB */
360 tGATT_TCB tcb[GATT_MAX_PHY_CHANNEL];
403 extern bool gatt_disconnect(tGATT_TCB* p_tcb);
407 extern bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb,
409 extern void gatt_data_process(tGATT_TCB& p_tcb, BT_HDR* p_buf);
410 extern void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb,
414 extern void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state);
415 extern tGATT_CH_STATE gatt_get_ch_state(tGATT_TCB* p_tcb);
426 extern tGATT_STATUS attp_send_cl_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb,
428 extern BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code,
430 extern tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, BT_HDR* p_msg);
431 extern tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB& tcb, BT_HDR* p_toL2CAP);
446 extern void gatt_start_conf_timer(tGATT_TCB* p_tcb);
450 extern void gatt_start_ind_ack_timer(tGATT_TCB& tcb);
451 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB& tcb, uint8_t err_code,
455 extern bool gatt_is_srv_chg_ind_pending(tGATT_TCB* p_tcb);
464 extern tGATT_VALUE* gatt_add_pending_ind(tGATT_TCB* p_tcb, tGATT_VALUE* p_ind);
466 extern bool gatt_cl_send_next_cmd_inq(tGATT_TCB& tcb);
488 extern tGATT_STATUS gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if,
492 extern void gatt_server_handle_client_req(tGATT_TCB& p_tcb, uint8_t op_code,
496 extern uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint8_t op_code,
508 extern void gatt_sr_copy_prep_cnt_to_cback_cnt(tGATT_TCB& p_tcb);
509 extern bool gatt_sr_is_cback_cnt_zero(tGATT_TCB& p_tcb);
510 extern bool gatt_sr_is_prep_cnt_zero(tGATT_TCB& p_tcb);
511 extern void gatt_sr_reset_cback_cnt(tGATT_TCB& p_tcb);
512 extern void gatt_sr_reset_prep_cnt(tGATT_TCB& tcb);
513 extern void gatt_sr_update_cback_cnt(tGATT_TCB& p_tcb, tGATT_IF gatt_if,
515 extern void gatt_sr_update_prep_cnt(tGATT_TCB& tcb, tGATT_IF gatt_if,
519 extern tGATT_TCB* gatt_find_tcb_by_cid(uint16_t lcid);
520 extern tGATT_TCB* gatt_allocate_tcb_by_bdaddr(const RawAddress& bda,
522 extern tGATT_TCB* gatt_get_tcb_by_idx(uint8_t tcb_idx);
523 extern tGATT_TCB* gatt_find_tcb_by_addr(const RawAddress& bda,
529 extern void gatt_dequeue_sr_cmd(tGATT_TCB& tcb);
530 extern uint8_t gatt_send_write_msg(tGATT_TCB& p_tcb, tGATT_CLCB* p_clcb,
542 extern tGATT_CLCB* gatt_cmd_dequeue(tGATT_TCB& tcb, uint8_t* p_opcode);
543 extern void gatt_cmd_enq(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, bool to_send,
545 extern void gatt_client_handle_server_rsp(tGATT_TCB& tcb, uint8_t op_code,
547 extern void gatt_send_queue_write_cancel(tGATT_TCB& tcb, tGATT_CLCB* p_clcb,
552 extern void gatt_verify_signature(tGATT_TCB& tcb, BT_HDR* p_buf);
553 extern tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB& tcb);
554 extern tGATT_SEC_ACTION gatt_get_sec_act(tGATT_TCB* p_tcb);
555 extern void gatt_set_sec_act(tGATT_TCB* p_tcb, tGATT_SEC_ACTION sec_act);
570 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, BT_HDR* p_rsp,
575 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle,