Analyzing GCode with Wireshark, lots of Gcode Duplicates in Packet Capture, Why?
I have been working on project where I am interested in using Wireshark to analyze Gcode instructions as they travel through my instance of Repetier Server (running on Raspberry pi) and into my printers.
I have successfully been able to view and monitor Gcode instructions in my packet captures and confirm them in the print.log files. All is good.
The issue I am having is that I am finding the some Gcode instructions are present in the wireshark packet capture multiple times. In fact I have observed the same Gcode instruction up to 60+ times in one packet capture. Why is this? It seems as though there entire chunks of duplicated Gcode being observed in Wireshark. I even searched for specific lines of Gcode that would only run one time in a print and they too appeared multiple times in my packet capture?
Furthermore, I have observed Gcode instructions in my Wireshark captures that were NOT present in the Print.log files and I am unsure as to why they are listed in my packet capture and the only data that should be in my Wireshark capture is the data from the Gcode file I selected.
For example, "N11162 G1 X83.925 Y81.942 E11.77469" this line of Gcode appears 20+ times in my Wireshark Capture TCP Stream. But is not a command that can be found in my Print.log file. Why is it showing up in my Wireshark capture? Any help appreciated.