diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2017-12-18 11:35:10 -0200 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-01-19 11:44:09 -0200 |
commit | aebb7e197384658d1a579442089bf8e52aa2e2c0 (patch) | |
tree | fc0e9b2efd80390d4d5e99b9e7e80c3484a19361 /client/advertising.h | |
parent | 821ad2ecd40fcfab5fd0bc06897d8b53d31deacd (diff) | |
download | bluez-aebb7e197384658d1a579442089bf8e52aa2e2c0.tar.gz |
client: Rename set-appearance to appearance
Make the command return the current value if no parameters:
[bluetooth]# appearance 0x0001
[bluetooth]# appearance
Appearance: Unknown (0x0001)
Diffstat (limited to 'client/advertising.h')
-rw-r--r-- | client/advertising.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/advertising.h b/client/advertising.h index 6c73b638d..7edf4fd95 100644 --- a/client/advertising.h +++ b/client/advertising.h @@ -31,6 +31,6 @@ 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, uint16_t value); +void ad_advertise_local_appearance(DBusConnection *conn, long int *value); void ad_advertise_duration(DBusConnection *conn, uint16_t value); void ad_advertise_timeout(DBusConnection *conn, uint16_t value); |