summaryrefslogtreecommitdiff
path: root/doc/device-api.txt
diff options
context:
space:
mode:
authorLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-03-10 18:08:36 +0200
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2016-03-14 14:02:45 +0200
commit4ed99044f49af9ef21c89b283399112cddfe68c0 (patch)
treeafe7a7ab774ff83034e5d161bea7ffc518e35094 /doc/device-api.txt
parent5c1ffd0cdf39a10f5f01df4a41ee549da795aed2 (diff)
downloadbluez-4ed99044f49af9ef21c89b283399112cddfe68c0.tar.gz
doc/device-api: Replace GattServices with ServicesDiscovered property
GattServices is not really doing was it was meant to do which was to track progress of service discovery since it only worked for the very first time a device is connected but since we no longer remove the attributes an application would have the false impression the service are all resolved by the time it reconnects when in fact the service may have changed. Furthermore object tracking like it is doing has been obsolete by ObjectManager so this propose to replace the service discovery tracking with a boolean property which works both with SDP as well as GATT discovery.
Diffstat (limited to 'doc/device-api.txt')
-rw-r--r--doc/device-api.txt9
1 files changed, 3 insertions, 6 deletions
diff --git a/doc/device-api.txt b/doc/device-api.txt
index a8076a26c..96832e8a4 100644
--- a/doc/device-api.txt
+++ b/doc/device-api.txt
@@ -212,10 +212,7 @@ Properties string Address [readonly]
Service advertisement data. Keys are the UUIDs in
string format followed by its byte array value.
- array{object} GattServices [readonly, optional]
+ bool ServicesResolved [readonly, experimental]
- List of GATT service object paths. Each referenced
- object exports the org.bluez.GattService1 interface and
- represents a remote GATT service. This property will be
- updated once all remote GATT services of this device
- have been discovered and exported over D-Bus.
+ Indicate whether or not service discovery has been
+ resolved.