From c0e1721cbe46d2b299e775fcbe5dc289afb0260f Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Tue, 17 Apr 2018 16:15:11 +0300 Subject: 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. --- doc/device-api.txt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'doc/device-api.txt') 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: + + ... + + Example: + + 0x26 0x01 0x01... -- cgit v1.2.1