Skip to content

Conversation

@taylorbell
Copy link

This is a new branch with the previous work done by @dballance cherry-picked on top of the latest from the main repository. Additionally some tweaks/fixes have been made to account for changes in the API upstream as well as to get unittests running and passing.

taylorbell and others added 25 commits November 21, 2024 11:36
This applies the changes from f880ed8
with some additional changes to clean up merge conflicts and fix broken
tests.
This refactors the device restoration logic to emit a stream of
`RestoredDevice` objects on session restoration. Each device will have a
set of metadata as well as streams for the connection state as well as
any characteristic subscriptions established in a previous session.

Each stream provides the same functionality as a standard connection or
characteristic stream and will disconnect/unsubscribe on calling
`cancel()`.
This passes an empty restored device info collection to the restored
device event stream on Android to ensure the stream will emit a done
event.
This doesn't fully prevent duplicate emissions but should ensure
duplicates aren't emitted during connection and initial pairing when it
is most important.
feat: add support for monitoring ble device bond status changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants