Searched refs:app_cb (Results 1 – 6 of 6) sorted by relevance
/system/bt/stack/gatt/ |
D | gatt_cl.c | 439 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_find_type_value_rsp() 440 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_find_type_value_rsp() 500 if (p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_info_rsp() 501 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_read_info_rsp() 709 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION)) in gatt_process_notification() 725 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb) in gatt_process_notification() 728 … (*p_reg->app_cb.p_cmpl_cb) (conn_id, event, encrypt_status, (tGATT_CL_COMPLETE *)&value); in gatt_process_notification() 754 …if (((!p_clcb->p_reg) || (!p_clcb->p_reg->app_cb.p_disc_res_cb)) && (p_clcb->operation == GATTC_OP… in gatt_process_read_by_type_rsp() 920 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && p_clcb->p_reg->app_cb.p_disc_res_cb) in gatt_process_read_by_type_rsp() 921 (*p_clcb->p_reg->app_cb.p_disc_res_cb)(p_clcb->conn_id, p_clcb->op_subtype, &result); in gatt_process_read_by_type_rsp() [all …]
|
D | gatt_main.c | 505 if (p_reg->app_cb.p_congestion_cb) in gatt_channel_congestion() 508 (*p_reg->app_cb.p_congestion_cb)(conn_id, congested); in gatt_channel_congestion() 935 if (p_reg->app_cb.p_conn_cb) in gatt_send_conn_cback() 938 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, p_tcb->peer_bda, conn_id, in gatt_send_conn_cback()
|
D | gatt_auth.c | 244 if (gatt_cb.cl_rcb[i].in_use && gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb) in gatt_notify_enc_cmpl() 246 (*gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb)(gatt_cb.cl_rcb[i].gatt_if, bd_addr); in gatt_notify_enc_cmpl()
|
D | gatt_utils.c | 1418 p_reg->app_cb.p_req_cb) in gatt_sr_send_req_callback() 1420 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback() 2120 tGATT_CMPL_CBACK *p_cmpl_cb = (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_cmpl_cb : NULL; in gatt_end_operation() 2122 …tGATT_DISC_CMPL_CB *p_disc_cmpl_cb = (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_disc_cmpl_cb : NUL… in gatt_end_operation() 2236 if (p_reg->in_use && p_reg->app_cb.p_conn_cb) in gatt_cleanup_upon_disc() 2240 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, FALSE, reason, transport); in gatt_cleanup_upon_disc()
|
D | gatt_api.c | 1226 p_reg->app_cb = *p_cb_info; in GATT_Register() 1349 if (p_reg->app_cb.p_conn_cb && p_tcb) in GATT_StartIf() 1352 (*p_reg->app_cb.p_conn_cb)(gatt_if, bda, conn_id, TRUE, 0, transport); in GATT_StartIf()
|
D | gatt_int.h | 254 tGATT_CBACK app_cb; member
|