rr_reply in Duet3 Standalone mode
-
Hi Experts,
I wrote my own code (python + requests) to send rr_gcode commands to control printer and use rr_reply to catch the response from the gcode command (like M290, G10 P2 ... ) The rr_reply was sent right after my rr_gcode command.
However, I have experienced a situation that the rr_reply sometime is empty. Sometimes, not all the time. Maybe more 50% than of time, I can get the correct response right away. For those empty response ones, I may get it right by keep resending the rr_gcode command and rr_reply.
This situation seems to happen only on Duet3 6HC (firmware version:3.3 Standalone mode) but not my duet 2 system. Does anyone have any suggestion/explanation for this problem ?
p.s.
I follow this page to sent my commands/requests to Duet system.
https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests
and I am pretty sure the time interval between my rr_gcode and rr_reply is less than 1 second.Thanks!