Lines Matching refs:tGATT_TCB
370 } tGATT_TCB;
382 tGATT_TCB *p_tcb; /* associated TCB of this CLCB */
420 tGATT_TCB *p_tcb;
458 tGATT_TCB tcb[GATT_MAX_PHY_CHANNEL];
526 extern BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb);
527 extern void gatt_data_process (tGATT_TCB *p_tcb, BT_HDR *p_buf);
528 extern void gatt_update_app_use_link_flag ( tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add, BOOLEAN check_acl_link);
531 extern void gatt_set_ch_state(tGATT_TCB *p_tcb, tGATT_CH_STATE ch_state);
532 extern tGATT_CH_STATE gatt_get_ch_state(tGATT_TCB *p_tcb);
547 extern tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_msg);
548 extern BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg);
549 extern tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg);
550 extern BOOLEAN attp_send_msg_to_L2CAP(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP);
559 extern void gatt_start_rsp_timer(tGATT_TCB *p_tcb);
560 extern void gatt_start_conf_timer(tGATT_TCB *p_tcb);
563 extern void gatt_start_ind_ack_timer(tGATT_TCB *p_tcb);
564 extern tGATT_STATUS gatt_send_error_rsp(tGATT_TCB *p_tcb, UINT8 err_code, UINT8 op_code, UINT16 handle, BOOLEAN deq);
566 extern tGATT_PENDING_ENC_CLCB* gatt_add_pending_enc_channel_clcb(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb );
570 extern BOOLEAN gatt_is_srv_chg_ind_pending (tGATT_TCB *p_tcb);
576 extern tGATT_VALUE *gatt_add_pending_ind(tGATT_TCB *p_tcb, tGATT_VALUE *p_ind);
608 extern tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, UINT32 trans_id, UINT8 op_code, tGATT_STATUS status, tGATTS_RSP *p_msg);
609 extern void gatt_server_handle_client_req (tGATT_TCB *p_tcb, UINT8 op_code,
613 extern UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle);
623 extern void gatt_sr_copy_prep_cnt_to_cback_cnt(tGATT_TCB *p_tcb );
624 extern BOOLEAN gatt_sr_is_cback_cnt_zero(tGATT_TCB *p_tcb );
625 extern BOOLEAN gatt_sr_is_prep_cnt_zero(tGATT_TCB *p_tcb );
626 extern void gatt_sr_reset_cback_cnt(tGATT_TCB *p_tcb );
627 extern void gatt_sr_reset_prep_cnt(tGATT_TCB *p_tcb );
628 extern void gatt_sr_update_cback_cnt(tGATT_TCB *p_tcb, tGATT_IF gatt_if, BOOLEAN is_inc, BOOLEAN is_reset_first);
629 extern void gatt_sr_update_prep_cnt(tGATT_TCB *p_tcb, tGATT_IF gatt_if, BOOLEAN is_inc, BOOLEAN is_reset_first);
631 extern BOOLEAN gatt_find_app_hold_link(tGATT_TCB *p_tcb, UINT8 start_idx, UINT8 *p_found_idx, tGATT_IF *p_gatt_if);
632 extern UINT8 gatt_num_apps_hold_link(tGATT_TCB *p_tcb);
634 extern tGATT_TCB * gatt_find_tcb_by_cid(UINT16 lcid);
635 extern tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda);
636 extern tGATT_TCB * gatt_get_tcb_by_idx(UINT8 tcb_idx);
637 extern tGATT_TCB * gatt_find_tcb_by_addr(BD_ADDR bda);
641 extern void gatt_dequeue_sr_cmd (tGATT_TCB *p_tcb);
642 extern UINT8 gatt_send_write_msg(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, UINT16 handle,
650 extern UINT8 gatt_act_send_browse(tGATT_TCB *p_tcb, UINT16 index, UINT8 op, UINT16 s_handle, UINT16 e_handle,
652 extern tGATT_CLCB *gatt_cmd_dequeue(tGATT_TCB *p_tcb, UINT8 *p_opcode);
653 extern BOOLEAN gatt_cmd_enq(tGATT_TCB *p_tcb, UINT16 clcb_idx, BOOLEAN to_send, UINT8 op_code, BT_HDR *p_buf);
654 extern void gatt_client_handle_server_rsp (tGATT_TCB *p_tcb, UINT8 op_code,
656 extern void gatt_send_queue_write_cancel (tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, tGATT_EXEC_FLAG flag);
660 extern void gatt_verify_signature(tGATT_TCB *p_tcb, BT_HDR *p_buf);
662 extern tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB *p_tcb);
663 extern tGATT_SEC_ACTION gatt_get_sec_act(tGATT_TCB *p_tcb);
664 extern void gatt_set_sec_act(tGATT_TCB *p_tcb, tGATT_SEC_ACTION sec_act);
671 extern tGATT_STATUS gatts_db_read_attr_value_by_type (tGATT_TCB *p_tcb, tGATT_SVC_DB *p_db, UINT8 op_code, BT_HDR *p_rsp, UINT16 s_handle,
673 extern tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb,tGATT_SVC_DB *p_db, UINT8 op_code, UINT16 handle, UINT16 offset,