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

Understanding the protocol #52

Open
IamTheCarl opened this issue Jul 11, 2021 · 2 comments
Open

Understanding the protocol #52

IamTheCarl opened this issue Jul 11, 2021 · 2 comments

Comments

@IamTheCarl
Copy link

I wanted to learn how to communicate with USB devices.
I felt re-implementing this library would be a good exercise.

I've got communications with the device and can successfully query the firmware version.

But there isn't much explanation on how this protocol works.
Like I see many lines of code like this one:

(6 != resp[4]) )

Does the number six represent success?
Is there documentation on this protocol or did you just reverse engineer the protocol for these printers?
If yes, what tools/processes did you use to reverse engineer the protocol?

@kscheff
Copy link
Contributor

kscheff commented Jul 13, 2021

Maik reverse engineered the protocol by recording and exploring the USB traffic. You can read about this on his blog: https://www.stohn.de/3d/

@IamTheCarl
Copy link
Author

Thabk you for that.
Maybe I'm navigating the website wrong, because while there are articles with titles that sound like what I want, they are only pictures and videos.

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

No branches or pull requests

2 participants