diff options
author | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-04-18 13:11:10 +0300 |
---|---|---|
committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2018-05-02 12:01:41 +0300 |
commit | 72c9b97f5e9c90ce2ac359ce16f4c82d32f4c569 (patch) | |
tree | 3950410dbccf989c22908742e9dce6245e86c5c1 /client/advertising.h | |
parent | bd7ab763496b03fd4f6c29896bbc05419bce7c5c (diff) | |
download | bluez-72c9b97f5e9c90ce2ac359ce16f4c82d32f4c569.tar.gz |
client: Add support for setting advertising Data property
This adds data command to advertise menu which can be used to set
an arbitrary/profile specific advertising type and data:
[bluetooth]# data 0x26 0x01 0x01 0x00
Diffstat (limited to 'client/advertising.h')
-rw-r--r-- | client/advertising.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/client/advertising.h b/client/advertising.h index b73d33b13..12b4d69c1 100644 --- a/client/advertising.h +++ b/client/advertising.h @@ -37,3 +37,5 @@ 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); |