Home
last modified time | relevance | path

Searched refs:bt_mesh_gatts_conn_cb (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/nimble_host/
Dmesh_bearer_adapt.c79 static struct bt_mesh_conn_cb *bt_mesh_gatts_conn_cb; variable
651 if (bt_mesh_gatts_conn_cb != NULL && bt_mesh_gatts_conn_cb->connected != NULL) { in gap_event_cb()
655 (bt_mesh_gatts_conn_cb->connected)(&bt_mesh_gatts_conn[index], 0); in gap_event_cb()
675 if (bt_mesh_gatts_conn_cb != NULL && bt_mesh_gatts_conn_cb->disconnected != NULL) { in gap_event_cb()
679 … (bt_mesh_gatts_conn_cb->disconnected)(&bt_mesh_gatts_conn[index], event->disconnect.reason); in gap_event_cb()
1037 bt_mesh_gatts_conn_cb = cb; in bt_mesh_gatts_conn_cb_register()
1042 bt_mesh_gatts_conn_cb = NULL; in bt_mesh_gatts_conn_cb_deregister()
/hal_espressif-latest/components/bt/esp_ble_mesh/mesh_core/bluedroid_host/
Dmesh_bearer_adapt.c66 static struct bt_mesh_conn_cb *bt_mesh_gatts_conn_cb; variable
636 if (bt_mesh_gatts_conn_cb != NULL && bt_mesh_gatts_conn_cb->connected != NULL) { in bt_mesh_bta_gatts_cb()
640 (bt_mesh_gatts_conn_cb->connected)(&bt_mesh_gatts_conn[index], 0); in bt_mesh_bta_gatts_cb()
655 if (bt_mesh_gatts_conn_cb != NULL && bt_mesh_gatts_conn_cb->disconnected != NULL) { in bt_mesh_bta_gatts_cb()
659 … (bt_mesh_gatts_conn_cb->disconnected)(&bt_mesh_gatts_conn[index], p_data->conn.reason); in bt_mesh_bta_gatts_cb()
673 bt_mesh_gatts_conn_cb = cb; in bt_mesh_gatts_conn_cb_register()
678 bt_mesh_gatts_conn_cb = NULL; in bt_mesh_gatts_conn_cb_deregister()