/system/bt/stack/gatt/ |
D | gatt_int.h | 383 } tGATT_TCB; typedef 395 tGATT_TCB *p_tcb; /* associated TCB of this CLCB */ 436 tGATT_TCB *p_tcb; 486 tGATT_TCB tcb[GATT_MAX_PHY_CHANNEL]; 553 extern BOOLEAN gatt_disconnect (tGATT_TCB *p_tcb); 555 extern BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport); 556 extern void gatt_data_process (tGATT_TCB *p_tcb, BT_HDR *p_buf); 557 extern void gatt_update_app_use_link_flag ( tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add, BOO… 560 extern void gatt_set_ch_state(tGATT_TCB *p_tcb, tGATT_CH_STATE ch_state); 561 extern tGATT_CH_STATE gatt_get_ch_state(tGATT_TCB *p_tcb); [all …]
|
D | gatt_main.c | 60 static void gatt_send_conn_cback (tGATT_TCB *p_tcb); 172 BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport) in gatt_connect() 205 BOOLEAN gatt_disconnect (tGATT_TCB *p_tcb) in gatt_disconnect() 252 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() 304 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() 348 tGATT_TCB *p_tcb; in gatt_act_connect() 376 memset(p_tcb, 0, sizeof(tGATT_TCB)); in gatt_act_connect() 409 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr, transport); in gatt_le_connect_cback() 489 static void gatt_channel_congestion(tGATT_TCB *p_tcb, BOOLEAN congested) in gatt_channel_congestion() 526 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(remote_bda, BT_TRANSPORT_LE); in gatt_le_cong_cback() [all …]
|
D | gatt_utils.c | 92 void gatt_free_pending_ind(tGATT_TCB *p_tcb) in gatt_free_pending_ind() 109 void gatt_free_pending_enc_queue(tGATT_TCB *p_tcb) in gatt_free_pending_enc_queue() 215 tGATT_VALUE *gatt_add_pending_ind(tGATT_TCB *p_tcb, tGATT_VALUE *p_ind) in gatt_add_pending_ind() 744 BOOLEAN gatt_is_srv_chg_ind_pending (tGATT_TCB *p_tcb) in gatt_is_srv_chg_ind_pending() 863 tGATT_TCB * gatt_get_tcb_by_idx(UINT8 tcb_idx) in gatt_get_tcb_by_idx() 865 tGATT_TCB *p_tcb = NULL; in gatt_get_tcb_by_idx() 882 tGATT_TCB * gatt_find_tcb_by_addr(BD_ADDR bda, tBT_TRANSPORT transport) in gatt_find_tcb_by_addr() 884 tGATT_TCB *p_tcb = NULL; in gatt_find_tcb_by_addr() 924 tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda, tBT_TRANSPORT transport) in gatt_allocate_tcb_by_bdaddr() 928 tGATT_TCB *p_tcb = NULL; in gatt_allocate_tcb_by_bdaddr() [all …]
|
D | gatt_auth.c | 99 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() 230 tGATT_TCB *p_tcb; in gatt_notify_enc_cmpl() 278 void gatt_set_sec_act(tGATT_TCB *p_tcb, tGATT_SEC_ACTION sec_act) in gatt_set_sec_act() 294 tGATT_SEC_ACTION gatt_get_sec_act(tGATT_TCB *p_tcb) in gatt_get_sec_act() 317 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_determine_sec_act() 417 tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB *p_tcb) in gatt_get_link_encrypt_status() 477 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_security_check_start()
|
D | gatt_cl.c | 49 void gatt_send_prepare_write(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb); 139 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_act_read() 227 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_act_write() 298 void gatt_send_queue_write_cancel (tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, tGATT_EXEC_FLAG flag) in gatt_send_queue_write_cancel() 320 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() 363 void gatt_send_prepare_write(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb) in gatt_send_prepare_write() 414 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() 459 void gatt_process_read_info_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 op_code, in gatt_process_read_info_rsp() 518 void gatt_proc_disc_error_rsp(tGATT_TCB *p_tcb, tGATT_CLCB *p_clcb, UINT8 opcode, in gatt_proc_disc_error_rsp() 558 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 | 46 UINT32 gatt_sr_enqueue_cmd (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 handle) in gatt_sr_enqueue_cmd() 84 BOOLEAN gatt_sr_cmd_empty (tGATT_TCB *p_tcb) in gatt_sr_cmd_empty() 98 void gatt_dequeue_sr_cmd (tGATT_TCB *p_tcb) in gatt_dequeue_sr_cmd() 261 tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, in gatt_sr_process_app_rsp() 331 void gatt_process_exec_write_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_exec_write_req() 395 void gatt_process_read_multi_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_read_multi_req() 524 static tGATT_STATUS gatt_build_primary_service_rsp (BT_HDR *p_msg, tGATT_TCB *p_tcb, in gatt_build_primary_service_rsp() 762 void gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_primary_service_req() 833 static void gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_find_info() 908 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 | 606 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueIndication() 677 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueNotification() 726 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_SendRsp() 778 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ConfigureMTU() 833 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Discover() 902 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Read() 990 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Write() 1064 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ExecuteWrite() 1111 tGATT_TCB *p_tcb=gatt_get_tcb_by_idx(GATT_GET_TCB_IDX(conn_id)); in GATTC_SendHandleValueConfirm() 1162 tGATT_TCB *p_tcb; in GATT_SetIdleTimeout() [all …]
|
D | att_protocol.c | 355 tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP) in attp_send_msg_to_l2cap() 386 BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg) in attp_build_sr_msg() 454 tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg) in attp_send_sr_msg() 481 tGATT_STATUS attp_cl_send_cmd(tGATT_TCB *p_tcb, UINT16 clcb_idx, UINT8 cmd_code, BT_HDR *p_cmd) in attp_cl_send_cmd() 533 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 | 47 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code, 321 tGATT_STATUS gatts_db_read_attr_value_by_type (tGATT_TCB *p_tcb, in gatts_db_read_attr_value_by_type() 633 tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb, in gatts_read_attr_value_by_handle() 1135 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code, in gatts_send_app_read_request()
|