doc/device-api: Add AdvertisingData property 77/204977/1
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Tue, 17 Apr 2018 13:15:11 +0000 (16:15 +0300)
committerAmit Purwar <amit.purwar@samsung.com>
Mon, 29 Apr 2019 04:03:31 +0000 (09:33 +0530)
This adds AdvertisingData which exposes data being advertised which is
may be useful for profiles not handled by bluetoothd.

Change-Id: I50623393e2beba866f371a46c14306c2bd0e9ac1
Signed-off-by: Amit Purwar <amit.purwar@samsung.com>
doc/device-api.txt

index 2de1535..9bfdfd2 100644 (file)
@@ -312,10 +312,26 @@ Properties        string Address [readonly]
 
                        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...
+
 #ifdef TIZEN_FEATURE_BLUEZ_MODIFY
                boolean GattConnected [readonly]
 
                        Indicates if the remote LE device is currently connected.
                        A PropertiesChanged signal indicate changes to this
                        status.
-#endif
\ No newline at end of file
+#endif