Skip to content

Conversation

thebookins
Copy link
Contributor

The latest changes to dev create a new Transmitter object whenever the transmitter ID is set. However, when the ID is changed in the example app, I have found that the central manager state is .unsupported on didUpdateState and the app does not scan for BLE devices (on iOS 11.2.5). On the next ID change the central manager state is .poweredOn, as expected.

As suggested by @ps2, this change removes the call to disconnect() on deinit (and removes deinit; it doesn't do anything). With this change the central manager does not enter the .unsupported state and the app reliably scans on changes to ID.

@ps2 ps2 merged commit 3d5411b into LoopKit:dev Feb 22, 2018
@thebookins thebookins deleted the scan-on-new-ID branch May 12, 2018 11:24
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