Enabling use of repetier binary protocol w/ Repetier-Server
Some background: I'm running a Wanhao i3 v2.1 Melzi-based printer that I've upgraded from the stock firmware to repetier-firmware v1.0.0dev. All of my slicing is done in Simplify3d, with the resulting G-code uploaded to my headless print manager. Until recently I was using Octoprint to manage/montior my prints, but I began to suspect that I was seeing G-code buffer underflows. I've been reading about the repetier proprietary binary protocol, and decided to give Repetier-Server a try.
Having tried Repetier-Server, I've found that there are many reasons to prefer it over Octoprint. The massive increase to print job ETE accuracy is a big one for me, as well as the improved file management. Having said that, I still haven't been able to figure out how to enable the main feature that brought me to Repetier-Server...
I'm running Repetier-Server v0.80.3 on Debian Jesse (Atom D2700 w/ 4GB RAM). As I said above, my printer is running repetier-firmware v1.0.0dev. I added the printer via the Repetier-Server WebUI, and configured it for 115200 baud, ping/pong disabled, buffer 127, with firmware type "repetier-firmware". I've successfully completed several prints now, but it's obviously still communicating via ASCII g-code commands. In addition to just watching the logs, I've checked this by exporting my printer config and opening up the resulting .xml in notepad. In the <connection> section of the config, protocol=0.
So my question is this: if I have a version of Repetier-Firmware that supports the binary protocol, and my printer configuration is set to Repetier-Firmware in Repetier-Server, why doesn't communication occur via the improved protocol? How do I enable binary-based communication? I've considered modifying the .xml such that protocol=2, but I'd rather the change be made via some sort of UI with input validation.
Can someone please advise?
Thanks,
-A
Comments