-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: do not disconnect unexpectedly connected devices if bleak suppo…
…rts reusing them (#35) Bleak 0.17 supports connecting to devices that are already connected in BlueZ. We now detect this and adjust the BLEDevice to point to the already connected device so they do not have to wait for a connection. This also fixes a race where the connection times out but the connection is actually made on the bus but we think it failed because we hit the timeout, so the next attempt will instead sail right though and be connected.
- Loading branch information
Showing
2 changed files
with
439 additions
and
28 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
Oops, something went wrong.