Lines Matching refs:tGATT_TCB
297 } tGATT_TCB; typedef
307 tGATT_TCB* p_tcb; /* associated TCB of this CLCB */
355 tGATT_TCB tcb[GATT_MAX_PHY_CHANNEL];
397 extern bool gatt_disconnect(tGATT_TCB* p_tcb);
400 extern bool gatt_connect(const RawAddress& rem_bda, tGATT_TCB* p_tcb,
403 extern void gatt_data_process(tGATT_TCB& p_tcb, BT_HDR* p_buf);
404 extern void gatt_update_app_use_link_flag(tGATT_IF gatt_if, tGATT_TCB* p_tcb,
408 extern void gatt_set_ch_state(tGATT_TCB* p_tcb, tGATT_CH_STATE ch_state);
409 extern tGATT_CH_STATE gatt_get_ch_state(tGATT_TCB* p_tcb);
420 extern tGATT_STATUS attp_send_cl_msg(tGATT_TCB& tcb, tGATT_CLCB* p_clcb,
422 extern BT_HDR* attp_build_sr_msg(tGATT_TCB& tcb, uint8_t op_code,
424 extern tGATT_STATUS attp_send_sr_msg(tGATT_TCB& tcb, BT_HDR* p_msg);
425 extern tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB& tcb, BT_HDR* p_toL2CAP);
440 extern void gatt_start_conf_timer(tGATT_TCB* p_tcb);
444 extern void gatt_start_ind_ack_timer(tGATT_TCB& tcb);
445 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB& tcb, uint8_t err_code,
449 extern bool gatt_is_srv_chg_ind_pending(tGATT_TCB* p_tcb);
458 extern void gatt_add_pending_ind(tGATT_TCB* p_tcb, tGATT_VALUE* p_ind);
460 extern bool gatt_cl_send_next_cmd_inq(tGATT_TCB& tcb);
476 extern tGATT_STATUS gatt_sr_process_app_rsp(tGATT_TCB& tcb, tGATT_IF gatt_if,
480 extern void gatt_server_handle_client_req(tGATT_TCB& p_tcb, uint8_t op_code,
484 extern uint32_t gatt_sr_enqueue_cmd(tGATT_TCB& tcb, uint8_t op_code,
496 extern void gatt_sr_copy_prep_cnt_to_cback_cnt(tGATT_TCB& p_tcb);
497 extern bool gatt_sr_is_cback_cnt_zero(tGATT_TCB& p_tcb);
498 extern bool gatt_sr_is_prep_cnt_zero(tGATT_TCB& p_tcb);
499 extern void gatt_sr_reset_cback_cnt(tGATT_TCB& p_tcb);
500 extern void gatt_sr_reset_prep_cnt(tGATT_TCB& tcb);
501 extern void gatt_sr_update_cback_cnt(tGATT_TCB& p_tcb, tGATT_IF gatt_if,
503 extern void gatt_sr_update_prep_cnt(tGATT_TCB& tcb, tGATT_IF gatt_if,
507 extern tGATT_TCB* gatt_find_tcb_by_cid(uint16_t lcid);
508 extern tGATT_TCB* gatt_allocate_tcb_by_bdaddr(const RawAddress& bda,
510 extern tGATT_TCB* gatt_get_tcb_by_idx(uint8_t tcb_idx);
511 extern tGATT_TCB* gatt_find_tcb_by_addr(const RawAddress& bda,
517 extern void gatt_dequeue_sr_cmd(tGATT_TCB& tcb);
518 extern uint8_t gatt_send_write_msg(tGATT_TCB& p_tcb, tGATT_CLCB* p_clcb,
530 extern tGATT_CLCB* gatt_cmd_dequeue(tGATT_TCB& tcb, uint8_t* p_opcode);
531 extern void gatt_cmd_enq(tGATT_TCB& tcb, tGATT_CLCB* p_clcb, bool to_send,
533 extern void gatt_client_handle_server_rsp(tGATT_TCB& tcb, uint8_t op_code,
535 extern void gatt_send_queue_write_cancel(tGATT_TCB& tcb, tGATT_CLCB* p_clcb,
540 extern void gatt_verify_signature(tGATT_TCB& tcb, BT_HDR* p_buf);
541 extern tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB& tcb);
542 extern tGATT_SEC_ACTION gatt_get_sec_act(tGATT_TCB* p_tcb);
543 extern void gatt_set_sec_act(tGATT_TCB* p_tcb, tGATT_SEC_ACTION sec_act);
558 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, BT_HDR* p_rsp,
563 tGATT_TCB& tcb, tGATT_SVC_DB* p_db, uint8_t op_code, uint16_t handle,