Chromium Code Reviews
DescriptionInvoke GattDiscoveryCompleteForService by observing ServicesResolved property
This changes how GattDiscoveryCompleteForService is invoked by observing the
toggle of ServicesResolved property, which is added in BlueZ5.39, of interface
org.bluez.Device1 instead of depending GattServiceAdded. Although BlueZ toggles
this property not only on the first fully-discovered event but also on the
following addition/removal events of service. GattDiscoveryCompleteForService
should be called only once after a remote device is created.
BUG=606011
TEST=build and run tests
Committed: https://crrev.com/da9047813fef5c79e536420281860c62606e8201
Cr-Commit-Position: refs/heads/master@{#394345}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : Invoke GattDiscoveryCompleteForService for each GATT service once #
Total comments: 14
Patch Set 4 : Address comments on patch set 3. #Patch Set 5 : #Patch Set 6 : Rebase #Patch Set 7 : Update comments. #
Total comments: 11
Patch Set 8 : Address comments on patch set 7 #
Total comments: 2
Patch Set 9 : #Patch Set 10 : #Messages
Total messages: 20 (6 generated)
|