summaryrefslogtreecommitdiff
path: root/client/advertising.h
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-08-10 14:15:49 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2017-08-10 16:32:09 +0300
commit5c3a39e642d5e499ade0a2cdf400a9ccd7804a19 (patch)
treeff8e248529392e5162683f41e0c9e50c404c37fe /client/advertising.h
parent80cee3a56c2066737c6915772c034e4ad3a1de32 (diff)
downloadbluez-5c3a39e642d5e499ade0a2cdf400a9ccd7804a19.tar.gz
client: Enable set-advertise-appearance to set Appearance
This enables set-advertise-appearance to use Appearance property: [bluetooth]# set-advertise-appearance 128 [bluetooth]# advertise on @ MGMT Command: Add Advertising (0x003e) plen 15 Instance: 1 Flags: 0x00000003 Switch into Connectable mode Advertise as Discoverable Duration: 0 Timeout: 0 Advertising data length: 4 Appearance: Computer (0x0080) Scan response length: 0
Diffstat (limited to 'client/advertising.h')
-rw-r--r--client/advertising.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/advertising.h b/client/advertising.h
index 255743562..5ea57adb3 100644
--- a/client/advertising.h
+++ b/client/advertising.h
@@ -31,3 +31,4 @@ void ad_advertise_tx_power(bool value);
void ad_advertise_name(bool value);
void ad_advertise_appearance(bool value);
void ad_advertise_local_name(const char *name);
+void ad_advertise_local_appearance(uint16_t value);