summaryrefslogtreecommitdiff
path: root/doc/device-api.txt
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2018-04-17 16:15:11 +0300
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2018-05-02 12:01:39 +0300
commitc0e1721cbe46d2b299e775fcbe5dc289afb0260f (patch)
tree5f2618edd62da5c4f9b3d793bae8bf8a8108cbca /doc/device-api.txt
parent1e5033bfefb39b18f78ba42b1249dfaf218c07c2 (diff)
downloadbluez-c0e1721cbe46d2b299e775fcbe5dc289afb0260f.tar.gz
doc/device-api: Add AdvertisingData property
This adds AdvertisingData which exposes data being advertised which is may be useful for profiles not handled by bluetoothd.
Diffstat (limited to 'doc/device-api.txt')
-rw-r--r--doc/device-api.txt16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/device-api.txt b/doc/device-api.txt
index 1b448eef1..65d8fee37 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -251,3 +251,19 @@ Properties string Address [readonly]
array{byte} AdvertisingFlags [readonly, experimental]
The Advertising Data Flags of the remote device.
+
+ dict AdvertisingData [readonly, experimental]
+
+ The Advertising Data of the remote device. Keys are
+ are 8 bits AD Type followed by data as byte array.
+
+ Note: Only types considered safe to be handled by
+ application are exposed.
+
+ Possible values:
+ <type> <byte array>
+ ...
+
+ Example:
+ <Transport Discovery> <Organization Flags...>
+ 0x26 0x01 0x01...