-
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Send messages between a hub and a bluetooth application. #8
Comments
Hi! I've investigated this a bit. I have a small dump of a short bluetooth session between Android Robot Inventor and the hub. So far I see it's working via BT, not BLE since it uses RFCOMM. RFCOMM is a part of BT stack. Here is what I found so far. Android -> Hub request messages
Description of the request message
Hub -> Android status messages
|
I found a few additional commands I thought might be useful:
|
Hi. Does sending these commands work with the factory firmware or do I have to flush something custom? I have a research project using these 51515 hubs as targets, and I have been looking for a way to control them through a desktop application without the need of LEGO app. |
@brabebhin These commands work with the default firmware over Bluetooth or USB. Most commands should work for both 51515 and Spike hubs, but there might be a few that are system-specific since the firmware varies slightly. |
Cool thank you for the information. One more question: i know in older lego sets the serial message had to be prefixed with the length of the message, does this apply here as well? Thanks |
Desktop app:
Android app:
The text was updated successfully, but these errors were encountered: