2020-09-22 03:00:24 +08:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
2016-08-16 20:24:54 +08:00
|
|
|
/*
|
|
|
|
*
|
|
|
|
* BlueZ - Bluetooth protocol stack for Linux
|
|
|
|
*
|
|
|
|
* Copyright (C) 2016 Intel Corporation. All rights reserved.
|
|
|
|
*
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
void ad_register(DBusConnection *conn, GDBusProxy *manager, const char *type);
|
|
|
|
void ad_unregister(DBusConnection *conn, GDBusProxy *manager);
|
|
|
|
|
2017-11-17 17:35:12 +08:00
|
|
|
void ad_advertise_uuids(DBusConnection *conn, int argc, char *argv[]);
|
2018-02-16 13:51:37 +08:00
|
|
|
void ad_disable_uuids(DBusConnection *conn);
|
2017-11-17 17:35:12 +08:00
|
|
|
void ad_advertise_service(DBusConnection *conn, int argc, char *argv[]);
|
2018-02-16 13:51:37 +08:00
|
|
|
void ad_disable_service(DBusConnection *conn);
|
2017-11-17 17:35:12 +08:00
|
|
|
void ad_advertise_manufacturer(DBusConnection *conn, int argc, char *argv[]);
|
2018-02-16 13:51:37 +08:00
|
|
|
void ad_disable_manufacturer(DBusConnection *conn);
|
2017-12-18 20:03:03 +08:00
|
|
|
void ad_advertise_tx_power(DBusConnection *conn, dbus_bool_t *value);
|
2017-08-14 21:29:03 +08:00
|
|
|
void ad_advertise_name(DBusConnection *conn, bool value);
|
|
|
|
void ad_advertise_appearance(DBusConnection *conn, bool value);
|
|
|
|
void ad_advertise_local_name(DBusConnection *conn, const char *name);
|
2017-12-18 21:35:10 +08:00
|
|
|
void ad_advertise_local_appearance(DBusConnection *conn, long int *value);
|
2018-01-15 23:36:26 +08:00
|
|
|
void ad_advertise_duration(DBusConnection *conn, long int *value);
|
2018-01-17 02:48:17 +08:00
|
|
|
void ad_advertise_timeout(DBusConnection *conn, long int *value);
|
2018-04-18 18:11:10 +08:00
|
|
|
void ad_advertise_data(DBusConnection *conn, int argc, char *argv[]);
|
|
|
|
void ad_disable_data(DBusConnection *conn);
|
2018-05-07 23:41:10 +08:00
|
|
|
void ad_advertise_discoverable(DBusConnection *conn, dbus_bool_t *value);
|
2018-05-21 21:21:05 +08:00
|
|
|
void ad_advertise_discoverable_timeout(DBusConnection *conn, long int *value);
|
2019-02-15 22:19:59 +08:00
|
|
|
void ad_advertise_secondary(DBusConnection *conn, const char *value);
|
2021-05-13 08:18:13 +08:00
|
|
|
void ad_advertise_interval(DBusConnection *conn, uint32_t *min, uint32_t *max);
|
2023-04-06 07:04:28 +08:00
|
|
|
void ad_advertise_rsi(DBusConnection *conn, dbus_bool_t *value);
|