DescriptionClear the BLE services list on disconnect.
This lets us recreate the services list correctly upon the next
reconnect, which fixes some problems with a device we have, which
disconnects automatically after 30 seconds.
Also reset the services_discovered flag for this device on disconnect.
In order to accomplish this, I had to move this flag from the dispatcher
host, to the bluetooth device instance.
BUG=570804
Committed: https://crrev.com/5de5c0faa27a2ce80195d1dbda480ad4011f25ef
Cr-Commit-Position: refs/heads/master@{#369826}
Patch Set 1 : The original change that was reverted #Patch Set 2 : Fix the bluetooth/getPrimaryService.html timeout issue #
Messages
Total messages: 20 (9 generated)
|