Closed corporategoth closed 11 months ago
This issue has been flagged as stale because it has been open for 60 days with no activity. The issue will be closed in 7 days unless someone removes the "stale" label or adds a comment.
This issue has been closed due to lack of recent activity.
Please, before you create a new bug report, please make sure you searched in open and closed issues and couldn't find anything that matches.
Printer type - MK3S Printer firmware version- 3.9.0
Describe the bug This is not new with 3.9.0, but I have noticed that there are often NULL (\x00) characters in the gcode response stream coming from the Prusa to the Raspberry Pi (on which I have Octoprint).
I am using a Raspberry Pi 4B, and I have it connected to the Rambo board using the serial interface (ie. /dev/ttyAMA0 on the RPi).
Randomly during prints, I would notice that I would get a timeout from Octoprint. Enabling the serial log showed that the OK response was screwed up - having a NULL character in it.
This bug seems to be related to this issue: https://github.com/OctoPrint/OctoPrint/issues/2454
I enabled the plugin mentioned there (https://gist.github.com/cesarvandevelde/6e4b54ce1977cb89ffa875d095c550af) so I could see for myself what was going on. Sure enough, I am seeing lots of random null characters in responses from the printer:
These seem to happen most often on M73 and M105 commands. Not entirely though.
It can even cause some garbling:
If that garbling/merging happens to effect an OK, well:
Nothing is safe:
To Reproduce Use the printer, directly connected to RPI's GPIO and the Einsy board RPi pins.
Expected behavior There would NOT be random NULL characters in the output. I should not need to use that ackackack plugin to detect garbled/random null characters in the output coming from the printer.