Home
last modified time | relevance | path

Searched refs:app_cb (Results 1 – 6 of 6) sorted by relevance

/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/
Dgatt_cl.c415 if (p_clcb->p_reg->app_cb.p_disc_res_cb) { in gatt_process_find_type_value_rsp()
416 (*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()
477 if (p_clcb->p_reg->app_cb.p_disc_res_cb) { in gatt_process_read_info_rsp()
478 (*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()
675 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb && (event == GATTC_OPTYPE_INDICATION)) { in gatt_process_notification()
691 if (p_reg->in_use && p_reg->app_cb.p_cmpl_cb) { in gatt_process_notification()
693 … (*p_reg->app_cb.p_cmpl_cb) (conn_id, event, encrypt_status, (tGATT_CL_COMPLETE *)&value); in gatt_process_notification()
719 …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()
861 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && p_clcb->p_reg->app_cb.p_disc_res_cb) { in gatt_process_read_by_type_rsp()
862 (*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 …]
Dgatt_auth.c230 if (gatt_cb.cl_rcb[i].in_use && gatt_cb.cl_rcb[i].app_cb.p_enc_cmpl_cb) { in gatt_notify_enc_cmpl()
231 (*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()
Dgatt_main.c537 if (p_reg->app_cb.p_congestion_cb) { in gatt_channel_congestion()
539 (*p_reg->app_cb.p_congestion_cb)(conn_id, congested); in gatt_channel_congestion()
943 if (p_reg->app_cb.p_conn_cb) { in gatt_send_conn_cback()
945 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, p_tcb->peer_bda, conn_id, in gatt_send_conn_cback()
Dgatt_utils.c1510 p_reg->app_cb.p_req_cb) { in gatt_sr_send_req_callback()
1511 (*p_reg->app_cb.p_req_cb)(conn_id, trans_id, type, p_data); in gatt_sr_send_req_callback()
2243 tGATT_CMPL_CBACK *p_cmpl_cb = (p_clcb->p_reg) ? p_clcb->p_reg->app_cb.p_cmpl_cb : NULL; in gatt_end_operation()
2245 …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()
2361 if (p_reg->in_use && p_reg->app_cb.p_conn_cb) { in gatt_cleanup_upon_disc()
2364 (*p_reg->app_cb.p_conn_cb)(p_reg->gatt_if, bda, conn_id, 0, reason, transport); in gatt_cleanup_upon_disc()
Dgatt_api.c1218 p_reg->app_cb = *p_cb_info; in GATT_Register()
1338 if (p_reg->app_cb.p_conn_cb && p_tcb) { in GATT_StartIf()
1340 (*p_reg->app_cb.p_conn_cb)(gatt_if, bda, conn_id, 1, 0, transport); in GATT_StartIf()
/device/soc/esp/esp32/components/bt/host/bluedroid/stack/gatt/include/
Dgatt_int.h261 tGATT_CBACK app_cb; member