Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
winrt/client: fix issues with getting services
There were a number of issues with getting services not being restarted properly when a services changed event occurred. Cancellation wasn't handled properly in FutureLike and it wasn't used in enough places. Now, the entire `get_services()` method is restarted when an event is received instead of only `self._requester.get_gatt_services_async()`.
- Loading branch information
Showing
2 changed files
with
154 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters