detecting completion of http request #209
-
When issuing a command via WEBUI's terminal (e.g. G28), a response similar to the following is received.
The trailing When issuing (e.g.) G28 via a http request (i.e.: Could you provide any hint, how a http request should be assembled to cause a response similar to WEBUI's terminal? BTW:
Thank you very much in advance. Best regards. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
the GCODE answers from commands do not go to HTTP but websocket , only [ESPXXX] answers go by http an HTTP answer need a start and an end - but when sending GCODE to printer ESP3D has no idea when the printer will start answer and when the answer is finished, so all answers from serial go to websocket which is a kind of open pipe, and it is webUI who do the sorting |
Beta Was this translation helpful? Give feedback.
-
Hi,
thanks for the hint.
I can indeed receive the GCODE answers with WebSockets now.
Thanks again and best regards.
… On 23. Nov 2021, at 03:33, Luc ***@***.***> wrote:
the GCODE answers from commands do not go to HTTP but websocket , only [ESPXXX] answers go by http
an HTTP answer need a start and an end - but when sending GCODE to printer ESP3D has no idea when the printer will start answer and when the answer is finished, so all answers from serial go to websocket which is a kind of open pipe, and it is webUI who do the sorting
it is what is is displayed in webUI terminal
|
Beta Was this translation helpful? Give feedback.
the GCODE answers from commands do not go to HTTP but websocket , only [ESPXXX] answers go by http
an HTTP answer need a start and an end - but when sending GCODE to printer ESP3D has no idea when the printer will start answer and when the answer is finished, so all answers from serial go to websocket which is a kind of open pipe, and it is webUI who do the sorting
it is what is is displayed in webUI terminal