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

USB sends mixed temperature data with ok ack #44

Open
bednic opened this issue Mar 17, 2024 · 0 comments
Open

USB sends mixed temperature data with ok ack #44

bednic opened this issue Mar 17, 2024 · 0 comments

Comments

@bednic
Copy link

bednic commented Mar 17, 2024

Description

I'm using octoprint for android and I hit an issue with USB communication. When printing sometimes the "ok" acknowledgement comes with temperature data and it messes up the data feed. This interupts print and causes some layer shifting, or total stack.

I'm not sure if this is issue with this implementation. The problem can come from marling itself. I'm just giving it shot, to gather more info.

Steps to Reproduce

  1. connect to printer via usb
  2. send M105 continously, or lister to firmware temperature stream, then send any other printing command like G's or another M's or just fake some printing
  3. watch feed
Recv:  T:207.09 /210.00 B:59.96 /60.00ok <--- THIS IS THE PROBLEM
Recv:  T:206.94 /210.00 B:60.18 /60.00 @:40 B@:5
Recv:  T:206.61 /210.00 B:60.20 /60.00 @:42 B@:3
Recv:  T:206.31 /210.00 B:60.08 /60.00 @:46 B@:25
Communication timeout while printing, trying to trigger response from printer. Configure long running commands or increase communication timeout if that happens regularly on specific commands or long moves.
Send: N140 M105*34
Recv: ok T:206.31 /210.00 B:60.08 /60.00 @:46 B@:25 <--- THIS IS OK

The longer is intervar between reading temperature data, the less is a chance to interption of printing.

Expected behavior:

The temperature data should not mix with "ok" ack's or any other output.

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

1 participant