Skip to content
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

Pullrequest/wedo2 #198

Merged
merged 4 commits into from
Jan 15, 2024
Merged

Pullrequest/wedo2 #198

merged 4 commits into from
Jan 15, 2024

Conversation

mennolodder
Copy link
Contributor

This should fix #58

It looks like this is all the motor can do, is it correct?

{ }

public IEnumerable<byte[]> GetStaticPortInfoMessages(Version softwareVersion, Version hardwareVersion, SystemType systemType)
// Dump taken from LEGO 6290182 - 21980 - Electric, Motor WeDo 2.0 Medium which reports as 'LPF2-MMOTOR'.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IMHO, the motor is not reporting that but your MediumTechnicHub describes the motor. The Lego Wireless Protocol is a Bluetooth protocol, not a wire protocol between the hub and the motor. It could though, but I am not aware of any details there.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am not sure, but of course we communicate with the Hub, but I think the data essentially comes from the motor and is translated and passed on by the hub, don't all motors work with all hubs? All hubs would have to know all device types then.

@tthiery tthiery added enhancement New feature or request area-device-motor labels Jan 15, 2024
@tthiery tthiery added this to the v5.0 (breaking) milestone Jan 15, 2024
@tthiery tthiery merged commit 996beac into sharpbrick:master Jan 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-device-motor enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Investigate Impact of supporting WeDo 2.0
2 participants