Parent: 5c1ffd0cdf39a10f5f01df4a41ee549da795aed2
Author: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2016-03-14 14:02:45
Tree: afe7a7ab774ff83034e5d161bea7ffc518e35094
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
| M | doc/device-api.txt | | | 9 | +++- - - - - - |
| M | src/device.c | | | 79 | +++++++++++++++++++++++++- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - |
2 files changed, 28 insertions(+), 60 deletions(-)