diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-04-05 16:04:28 -0700 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2023-04-05 17:00:00 -0700 |
commit | 070c78c4269c66cfaea75bc9f77fad9b5c4d511c (patch) | |
tree | 9752bd23b477831983db354f244b0693d77001dd /client/advertising.h | |
parent | eef2e62a5bc4eb4d90a507b3834937102d906b95 (diff) | |
download | bluez-070c78c4269c66cfaea75bc9f77fad9b5c4d511c.tar.gz |
client/advertising: Add support for advertise.rsi command
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]#
Diffstat (limited to 'client/advertising.h')
-rw-r--r-- | client/advertising.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/client/advertising.h b/client/advertising.h index 472396efd..145ac8045 100644 --- a/client/advertising.h +++ b/client/advertising.h @@ -30,3 +30,4 @@ 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); |