-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Implements BLE manufacturer data-feature in LEGO BOOST extension #2231
Conversation
…itialised LEGO BOOST Move Hubs
Reason for blocked label: We discovered during a test that while the Mac-version of Scratch Link doesn't seem to mind being passed a filter it doesn't know, the Windows-version will not discover anything. |
With the release of Scratch Link 1.2, this PR technically isn't blocked anymore. PSA: If this PR gets merged and a user is using Scratch Link 1.1 on Windows and use the LEGO BOOST extension, they will get an error when trying to connect. |
@cwillisf @ericrosenbaum Would you mind giving this a re-review? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 looks good!
I've tested connecting to my BOOST hub with these values and it seems to work reliably for me. Most of my tests were with Windows but I've done a few on Mac as well.
Thanks @cwillisf ! After discussing with @ericrosenbaum, we'll hold off on merging until we've done some more testing. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGMT! we tested on mac and win, with old and new boost firmware versions, with old and new scratch link versions, and each case behaved as expected.
Resolves
#2230
Proposed Changes
Adds a filter to the
scan()
-function so that only properly initialised LEGO BOOST Move Hubs are discovered and connected to.Reason for Changes
In Move Hub firmware 2.0.00.0017 the Move Hub briefly appears with a non-connectable MAC-address. Additionally, while non-connectable, no advertisement data is found. By implementing this filter, the non-connectable device will not pass through it.