/external/bluetooth/bluedroid/stack/gatt/ |
D | gatt_int.h | 370 } tGATT_TCB; typedef 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, BOO… 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_MS… [all …]
|
D | gatt_main.c | 56 static void gatt_send_conn_cback (tGATT_TCB *p_tcb); 144 BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb) in gatt_connect() 180 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(rem_bda); in gatt_disconnect() 226 void gatt_update_app_hold_link_status (tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add) in gatt_update_app_hold_link_status() 278 void gatt_update_app_use_link_flag (tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add, BOOLEAN che… in gatt_update_app_use_link_flag() 321 tGATT_TCB *p_tcb; in gatt_act_connect() 352 memset(p_tcb, 0, sizeof(tGATT_TCB)); in gatt_act_connect() 384 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr); in gatt_le_connect_cback() 473 tGATT_TCB *p_tcb; in gatt_le_data_ind() 509 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr); in gatt_l2cif_connect_ind_cback() [all …]
|
D | gatt_utils.c | 91 void gatt_free_pending_ind(tGATT_TCB *p_tcb) in gatt_free_pending_ind() 108 void gatt_free_pending_enc_queue(tGATT_TCB *p_tcb) in gatt_free_pending_enc_queue() 214 tGATT_VALUE *gatt_add_pending_ind(tGATT_TCB *p_tcb, tGATT_VALUE *p_ind) in gatt_add_pending_ind() 739 BOOLEAN gatt_is_srv_chg_ind_pending (tGATT_TCB *p_tcb) in gatt_is_srv_chg_ind_pending() 858 tGATT_TCB * gatt_get_tcb_by_idx(UINT8 tcb_idx) in gatt_get_tcb_by_idx() 860 tGATT_TCB *p_tcb = NULL; in gatt_get_tcb_by_idx() 877 tGATT_TCB * gatt_find_tcb_by_addr(BD_ADDR bda) in gatt_find_tcb_by_addr() 879 tGATT_TCB *p_tcb = NULL; in gatt_find_tcb_by_addr() 919 tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda) in gatt_allocate_tcb_by_bdaddr() 923 tGATT_TCB *p_tcb = NULL; in gatt_allocate_tcb_by_bdaddr() [all …]
|
D | gatt_auth.c | 98 void gatt_verify_signature(tGATT_TCB *p_tcb, BT_HDR *p_buf) in gatt_verify_signature() 161 tGATT_TCB *p_tcb; in gatt_enc_cmpl_cback() 228 tGATT_TCB *p_tcb; in gatt_notify_enc_cmpl() 276 void gatt_set_sec_act(tGATT_TCB *p_tcb, tGATT_SEC_ACTION sec_act) in gatt_set_sec_act() 292 tGATT_SEC_ACTION gatt_get_sec_act(tGATT_TCB *p_tcb) in gatt_get_sec_act() 315 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_determine_sec_act() 426 tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB *p_tcb) in gatt_get_link_encrypt_status() 486 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_security_check_start()
|
D | gatt_cl.c | 47 void gatt_send_prepare_write(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb); 130 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_act_read() 218 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_act_write() 289 void gatt_send_queue_write_cancel (tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, tGATT_EXEC_FLAG flag) in gatt_send_queue_write_cancel() 311 BOOLEAN gatt_check_write_long_terminate(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, tGATT_VALUE *p_rsp_v… in gatt_check_write_long_terminate() 354 void gatt_send_prepare_write(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb) in gatt_send_prepare_write() 405 void gatt_process_find_type_value_rsp (tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT16 len, UINT8 *p_d… in gatt_process_find_type_value_rsp() 448 void gatt_process_read_info_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, in gatt_process_read_info_rsp() 504 void gatt_proc_disc_error_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 opcode, in gatt_proc_disc_error_rsp() 541 void gatt_process_error_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, in gatt_process_error_rsp() [all …]
|
D | gatt_sr.c | 45 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) in gatt_sr_enqueue_cmd() 83 BOOLEAN gatt_sr_cmd_empty (tGATT_TCB *p_tcb) in gatt_sr_cmd_empty() 97 void gatt_dequeue_sr_cmd (tGATT_TCB *p_tcb) in gatt_dequeue_sr_cmd() 260 tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, in gatt_sr_process_app_rsp() 329 void gatt_process_exec_write_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_exec_write_req() 397 void gatt_process_read_multi_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_read_multi_req() 526 static tGATT_STATUS gatt_build_primary_service_rsp (BT_HDR *p_msg, tGATT_TCB *p_tcb, in gatt_build_primary_service_rsp() 757 void gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_primary_service_req() 827 static void gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_find_info() 902 static void gatts_process_mtu_req (tGATT_TCB *p_tcb, UINT16 len, UINT8 *p_data) in gatts_process_mtu_req() [all …]
|
D | gatt_api.c | 605 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueIndication() 675 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueNotification() 719 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_SendRsp() 771 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ConfigureMTU() 823 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Discover() 892 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Read() 980 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Write() 1054 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ExecuteWrite() 1101 tGATT_TCB *p_tcb=gatt_get_tcb_by_idx(GATT_GET_TCB_IDX(conn_id)); in GATTC_SendHandleValueConfirm() 1152 tGATT_TCB *p_tcb; in GATT_SetIdleTimeout() [all …]
|
D | att_protocol.c | 355 BOOLEAN attp_send_msg_to_L2CAP(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP) in attp_send_msg_to_L2CAP() 385 BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg) in attp_build_sr_msg() 453 tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg) in attp_send_sr_msg() 481 UINT8 attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd) in attp_cl_send_cmd() 532 tGATT_STATUS attp_send_cl_msg (tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 op_code, tGATT_CL_MSG *p_ms… in attp_send_cl_msg()
|
D | gatt_db.c | 45 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code, 315 tGATT_STATUS gatts_db_read_attr_value_by_type (tGATT_TCB *p_tcb, in gatts_db_read_attr_value_by_type() 600 tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb, in gatts_read_attr_value_by_handle() 1084 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code, in gatts_send_app_read_request()
|