Skip to content

Conversation

microbit-robert
Copy link
Contributor

@microbit-robert microbit-robert commented Nov 29, 2024

I think reconnecting via the UI used to call the reconnect method in the device wrapper where we wait for the Windows Bluetooth disconnection before reconnecting. This reconnect method is now only called internally for automatic reconnection attempts.

This means, that on Windows, the user can click disconnect, then connect/reconnect quickly which results in the model number error. This fix prevents that from happening.

I could not reproduce the model number error following these intructions #39. This could be a separate or related issue.

Copy link
Contributor

@microbit-grace microbit-grace left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, LGTM.

@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Dec 4, 2024

Deploying microbit-connection with  Cloudflare Pages  Cloudflare Pages

Latest commit: e21e234
Status: ✅  Deploy successful!
Preview URL: https://6d301b30.microbit-connection.pages.dev
Branch Preview URL: https://model-number.microbit-connection.pages.dev

View logs

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit 0bbd3b1 into main Dec 4, 2024
2 checks passed
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the model-number branch December 4, 2024 15:17
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