/system/bt/stack/gatt/ |
D | gatt_int.h | 383 } tGATT_TCB; typedef 395 tGATT_TCB *p_tcb; /* associated TCB of this CLCB */ 467 tGATT_TCB tcb[GATT_MAX_PHY_CHANNEL]; 534 extern BOOLEAN gatt_disconnect (tGATT_TCB *p_tcb); 536 extern BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport); 537 extern void gatt_data_process (tGATT_TCB *p_tcb, BT_HDR *p_buf); 538 extern void gatt_update_app_use_link_flag ( tGATT_IF gatt_if, tGATT_TCB *p_tcb, BOOLEAN is_add, BOO… 541 extern void gatt_set_ch_state(tGATT_TCB *p_tcb, tGATT_CH_STATE ch_state); 542 extern tGATT_CH_STATE gatt_get_ch_state(tGATT_TCB *p_tcb); 554 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 | 60 static void gatt_send_conn_cback (tGATT_TCB *p_tcb); 196 BOOLEAN gatt_connect (BD_ADDR rem_bda, tGATT_TCB *p_tcb, tBT_TRANSPORT transport) in gatt_connect() 229 BOOLEAN gatt_disconnect (tGATT_TCB *p_tcb) in gatt_disconnect() 280 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() 332 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() 376 tGATT_TCB *p_tcb; in gatt_act_connect() 407 memset(p_tcb, 0, sizeof(tGATT_TCB)); in gatt_act_connect() 440 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(bd_addr, transport); in gatt_le_connect_cback() 520 static void gatt_channel_congestion(tGATT_TCB *p_tcb, BOOLEAN congested) in gatt_channel_congestion() 557 tGATT_TCB *p_tcb = gatt_find_tcb_by_addr(remote_bda, BT_TRANSPORT_LE); in gatt_le_cong_cback() [all …]
|
D | gatt_utils.c | 93 void gatt_free_pending_ind(tGATT_TCB *p_tcb) in gatt_free_pending_ind() 116 void gatt_free_pending_enc_queue(tGATT_TCB *p_tcb) in gatt_free_pending_enc_queue() 234 tGATT_VALUE *gatt_add_pending_ind(tGATT_TCB *p_tcb, tGATT_VALUE *p_ind) in gatt_add_pending_ind() 764 BOOLEAN gatt_is_srv_chg_ind_pending (tGATT_TCB *p_tcb) in gatt_is_srv_chg_ind_pending() 889 tGATT_TCB * gatt_get_tcb_by_idx(UINT8 tcb_idx) in gatt_get_tcb_by_idx() 891 tGATT_TCB *p_tcb = NULL; in gatt_get_tcb_by_idx() 908 tGATT_TCB * gatt_find_tcb_by_addr(BD_ADDR bda, tBT_TRANSPORT transport) in gatt_find_tcb_by_addr() 910 tGATT_TCB *p_tcb = NULL; in gatt_find_tcb_by_addr() 950 tGATT_TCB * gatt_allocate_tcb_by_bdaddr(BD_ADDR bda, tBT_TRANSPORT transport) in gatt_allocate_tcb_by_bdaddr() 954 tGATT_TCB *p_tcb = NULL; in gatt_allocate_tcb_by_bdaddr() [all …]
|
D | gatt_auth.c | 93 void gatt_verify_signature(tGATT_TCB *p_tcb, BT_HDR *p_buf) in gatt_verify_signature() 162 tGATT_TCB *p_tcb; in gatt_enc_cmpl_cback() 232 tGATT_TCB *p_tcb; in gatt_notify_enc_cmpl() 279 void gatt_set_sec_act(tGATT_TCB *p_tcb, tGATT_SEC_ACTION sec_act) in gatt_set_sec_act() 295 tGATT_SEC_ACTION gatt_get_sec_act(tGATT_TCB *p_tcb) in gatt_get_sec_act() 318 tGATT_TCB *p_tcb = p_clcb->p_tcb; in gatt_determine_sec_act() 418 tGATT_STATUS gatt_get_link_encrypt_status(tGATT_TCB *p_tcb) in gatt_get_link_encrypt_status() 478 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() 253 tGATT_STATUS gatt_sr_process_app_rsp (tGATT_TCB *p_tcb, tGATT_IF gatt_if, in gatt_sr_process_app_rsp() 323 void gatt_process_exec_write_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_exec_write_req() 387 void gatt_process_read_multi_req (tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatt_process_read_multi_req() 503 static tGATT_STATUS gatt_build_primary_service_rsp (BT_HDR *p_msg, tGATT_TCB *p_tcb, in gatt_build_primary_service_rsp() 741 void gatts_process_primary_service_req(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_primary_service_req() 805 static void gatts_process_find_info(tGATT_TCB *p_tcb, UINT8 op_code, UINT16 len, UINT8 *p_data) in gatts_process_find_info() 870 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() 676 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_HandleValueNotification() 725 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTS_SendRsp() 777 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ConfigureMTU() 832 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Discover() 900 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Read() 989 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_Write() 1053 tGATT_TCB *p_tcb = gatt_get_tcb_by_idx(tcb_idx); in GATTC_ExecuteWrite() 1100 tGATT_TCB *p_tcb=gatt_get_tcb_by_idx(GATT_GET_TCB_IDX(conn_id)); in GATTC_SendHandleValueConfirm() 1151 tGATT_TCB *p_tcb; in GATT_SetIdleTimeout() [all …]
|
D | att_protocol.c | 327 tGATT_STATUS attp_send_msg_to_l2cap(tGATT_TCB *p_tcb, BT_HDR *p_toL2CAP) in attp_send_msg_to_l2cap() 358 BT_HDR *attp_build_sr_msg(tGATT_TCB *p_tcb, UINT8 op_code, tGATT_SR_MSG *p_msg) in attp_build_sr_msg() 426 tGATT_STATUS attp_send_sr_msg (tGATT_TCB *p_tcb, BT_HDR *p_msg) in attp_send_sr_msg() 453 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() 505 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() 627 tGATT_STATUS gatts_read_attr_value_by_handle(tGATT_TCB *p_tcb, in gatts_read_attr_value_by_handle() 1120 static tGATT_STATUS gatts_send_app_read_request(tGATT_TCB *p_tcb, UINT8 op_code, in gatts_send_app_read_request()
|