Closed Kimpehzor closed 3 years ago
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 adafruit-circuitpython-bundle-py-20210901.zip
(which I wouldn't expect to completely work because different major versions, but I'm trying to hack my way around this issue).
@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. 🤔
@tannewt is this issue coming from this project, or from CircuitPython itself?
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.