mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 00:04:29 +08:00
070c78c426
This adds support for advertise.rsi command which can be used to request the generation of RSI and include it as part of advertising data: [bluetooth]# advertise.rsi --help Show/Enable/Disable RSI to be advertised Usage: rsi [on/off] [bluetooth]# advertise.rsi RSI: on [bluetooth]# advertise on ... Advertising object registered Tx Power: off Name: off Appearance: off Discoverable: on RSI: on [bluetooth]#
34 lines
1.6 KiB
C
34 lines
1.6 KiB
C
/* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
/*
|
|
*
|
|
* 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);
|
|
|
|
void ad_advertise_uuids(DBusConnection *conn, int argc, char *argv[]);
|
|
void ad_disable_uuids(DBusConnection *conn);
|
|
void ad_advertise_service(DBusConnection *conn, int argc, char *argv[]);
|
|
void ad_disable_service(DBusConnection *conn);
|
|
void ad_advertise_manufacturer(DBusConnection *conn, int argc, char *argv[]);
|
|
void ad_disable_manufacturer(DBusConnection *conn);
|
|
void ad_advertise_tx_power(DBusConnection *conn, dbus_bool_t *value);
|
|
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);
|
|
void ad_advertise_local_appearance(DBusConnection *conn, long int *value);
|
|
void ad_advertise_duration(DBusConnection *conn, long int *value);
|
|
void ad_advertise_timeout(DBusConnection *conn, long int *value);
|
|
void ad_advertise_data(DBusConnection *conn, int argc, char *argv[]);
|
|
void ad_disable_data(DBusConnection *conn);
|
|
void ad_advertise_discoverable(DBusConnection *conn, dbus_bool_t *value);
|
|
void ad_advertise_discoverable_timeout(DBusConnection *conn, long int *value);
|
|
void ad_advertise_secondary(DBusConnection *conn, const char *value);
|
|
void ad_advertise_interval(DBusConnection *conn, uint32_t *min, uint32_t *max);
|
|
void ad_advertise_rsi(DBusConnection *conn, dbus_bool_t *value);
|