Skip to content

Conversation

laurensvalk
Copy link
Member

@laurensvalk laurensvalk commented Oct 14, 2025

This provides a custom build to help users debug issues with LEGO UART Messaging Protocol (LUMP) devices.

Installation instructions

Test instructions

  • Disconnect all sensors and motors from the hub.
  • Turn the hub on.
  • Connect via Bluetooth.
  • Plug in the device you want to test.

Expected output
This is the expected result for the Large Angular Motor. (In your report, please copy/paste the results instead of making a screenshot.)

image
set baud: 115200
type id: 49
num_modes: 6
speed: 115200
fw version: 20000000
hw version: 11080000
new_mode: 5
flags: 00 00 00 00 05 04
mapping: in 00 out 00
mapping: in 00 out 00
Writable: 0
num_values: 14
data_type: 1
new_mode: 4
flags: 22 40 00 00 05 04
mapping: in 00 out 00
mapping: in 00 out 00
Writable: 0
num_values: 2
data_type: 1
new_mode: 3
flags: 22 00 00 00 05 04
mapping: in 32 out 72
mapping: in 32 out 72
Writable: 1
num_values: 1
data_type: 1
new_mode: 2
flags: 24 00 00 00 05 04
mapping: in 28 out 68
mapping: in 28 out 68
Writable: 1
num_values: 1
data_type: 2
new_mode: 1
flags: 21 00 00 00 05 04
mapping: in 30 out 70
mapping: in 30 out 70
Writable: 1
num_values: 1
data_type: 0
new_mode: 0
flags: 30 00 00 00 05 04
mapping: in 00 out 50
mapping: in 00 out 50
Writable: 1
num_values: 1
data_type: 0
mode combos: 000e
motor parameters: 4000 100 9000 970
set baud: 115200
req mode: 4 (was: 0 desired: 0)

@coveralls
Copy link

Coverage Status

coverage: 59.78%. remained the same
when pulling 8f44e59 on debug-motor
into 2237dc5 on master.

@nuno2500
Copy link

Hi Laurens,

Here goes the result of the test.

set baud: 115200
set baud: 2400
type id: 35
num_modes: 3
speed: 115200
fw version: 10000000
hw version: 10000000
new_mode: 2
flags: 41 4C 00 00 00 00
mapping: in 10 out 00
mapping: in 10 out 00
Writable: 0
num_values: 3
data_type: 1
new_mode: 1
flags: 4F 55 4E 54 00 00
mapping: in 10 out 00
mapping: in 10 out 00
Writable: 0
num_values: 1
data_type: 2
new_mode: 0
flags: 45 54 45 43 54 00
mapping: in 10 out 00
mapping: in 10 out 00
Writable: 0
num_values: 1
data_type: 0
set baud: 115200
Bad data message size
Bad data message size
No data since last keepalive

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants