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
LEGO BOOST Move Hub firmware 2.0.00.0017 breaks connection flow #2230
Labels
Comments
We have identified two solutions to this problem:
|
Blocked by scratchfoundation/scratch-link#120 |
ijache
pushed a commit
to ijache/pylgbst
that referenced
this issue
Aug 11, 2019
- Skipping Device without Mac-Address (Seems to occur randomly after Firmware-Update, referring to scratchfoundation/scratch-vm#2230 ) - Fixed racecondition in Hub.send() (Reply could come before entering _sync_lock)
undera
pushed a commit
to undera/pylgbst
that referenced
this issue
Aug 12, 2019
* - Updated Port-Numbers (New Firmware 2.0.00.0017) - Skipping Device without Mac-Address (Seems to occur randomly after Firmware-Update, referring to scratchfoundation/scratch-vm#2230 ) - Fixed racecondition in Hub.send() (Reply could come before entering _sync_lock) * - fixed Unit-Tests (Changed Port-Numbers) - moved the write-call in hub.send() outside the lock
For some reason this issue was not closed when the associated PRs were merged. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
LEGO BOOST Move Hubs should appear with advertisement data and be connectable.
Actual Behavior
As mentioned in #2215, with the recently released firmware version 2.0.00.0017, BOOST Move Hubs appear in a seemingly improperly initialised state for a few seconds before properly advertising. If Scratch Link on the host device (e.g. MacBook, PC) detects it before it's properly initialised it will attempt to connect to it and fail since the hub does not have a valid MAC-address.
Steps to Reproduce
It is possible, if the host device has a slow BLE stack that it won't see the Move Hub before it's properly initialised. In that case it will connect.
The text was updated successfully, but these errors were encountered: