New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reconnecting to Feather nRF52840 Express causes exception #130
Comments
Please try absolute newest of CircuitPython. I just tried the demo and it worked ok. |
I'm also experiencing this error, using CircuitPython 6.3.0 and the "Absolute Newest" bundle @tannewt is this issue coming from this project, or from CircuitPython itself? |
Interesting, after "forgetting" the CircuitPython device from my iPhone, the problem seems to have gone away. 🤔 |
I suspect the CircuitPython core. We reworked BLE quite a bit to add the BLE workflow in 7 so it's not really worth debugging 6.3.0. I'm planning a 7 release candidate this week and hopefully a stable release next week or the week after depending on how the RC goes. |
I am running this example code on a Feather nRF52840 Express.
The script runs without issue until I encounter a reconnect. If the Bluetooth connection is disconnected (manually by disabling Bluetooth on the phone or walking out of Bluetooth range) and then reconnected, this exception is thrown upon reconnecting:
Restarting the script does not help. Disabling / Re-enabling bluetooth does not help.
I have reproduced the issue using:
CircuitPython - 6.3.0
CircuitPython - 7.0.0-alpha.6
iOS 14.7
iOS 15 Public Beta 5
The only temporary solution I have found so far is to unpair/re-pair the feather via iOS. This solves the issue until the next disconnect occurs.
The text was updated successfully, but these errors were encountered: