Skip to content

Conversation

@pstasiak
Copy link
Contributor

Before this change, detected BLEPeripheral instances were recreated on each advertisement data receive, so Combine streams (such as observeConnectionState()) were no longer updated with new values.

Based on RxBluetoothKit.

Similar (without thread-safe code) change is also contained in PR #13, but here I tried to make a small, isolated change instead of the single PR combining many features together.

@Henryforce Henryforce merged commit f4a4147 into Henryforce:master Sep 25, 2021
@pstasiak pstasiak deleted the feature/peripherals-reuse branch January 12, 2022 19:53
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.

2 participants