Blob: adv_monitor.h
Blob id: c6bb8a68af89d87ff7e311c7ad430f70df078e62
Size: 1.1 KB
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ /* * * BlueZ - Bluetooth protocol stack for Linux * * Copyright (C) 2020 Google LLC * * */ #ifndef __ADV_MONITOR_H #define __ADV_MONITOR_H #include <glib.h> #include "src/shared/ad.h" struct mgmt; struct queue; struct btd_device; struct btd_adapter; struct btd_adv_monitor_manager; struct btd_adv_monitor_pattern; struct btd_adv_monitor_manager *btd_adv_monitor_manager_create( struct btd_adapter *adapter, struct mgmt *mgmt); void btd_adv_monitor_manager_destroy(struct btd_adv_monitor_manager *manager); bool btd_adv_monitor_offload_enabled(struct btd_adv_monitor_manager *manager); struct queue *btd_adv_monitor_content_filter( struct btd_adv_monitor_manager *manager, struct bt_ad *ad); void btd_adv_monitor_notify_monitors(struct btd_adv_monitor_manager *manager, struct btd_device *device, int8_t rssi, struct queue *matched_monitors); void btd_adv_monitor_device_remove(struct btd_adv_monitor_manager *manager, struct btd_device *device); void btd_adv_monitor_power_down(struct btd_adv_monitor_manager *manager); #endif /* __ADV_MONITOR_H */ |