Hi,
I'm trying to connect to a printer with Marlin, on Windows machine.
After port is opened, I send M105 command (I saw this in some example, I dont remember exactly where),
and then I receive response in form of:
My problem is that I try to detect when the printer is ready, but can't figure out what the is correct way,
since the above response doesnt end with "ok".
At the beginning I used an empty-line the find end of intro response, but from time to time, the empty-line arrives in the middle of the above response.
I found a lot of documentation on each command, but not on this issue.
Any help is appreciated.
Thanks,
Si.
I'm trying to connect to a printer with Marlin, on Windows machine.
After port is opened, I send M105 command (I saw this in some example, I dont remember exactly where),
and then I receive response in form of:
Start echo:Marlin 1.1.0-RC3 echo: something .... .... echo: M200 D0 echo: SD init fail
My problem is that I try to detect when the printer is ready, but can't figure out what the is correct way,
since the above response doesnt end with "ok".
At the beginning I used an empty-line the find end of intro response, but from time to time, the empty-line arrives in the middle of the above response.
I found a lot of documentation on each command, but not on this issue.
Any help is appreciated.
Thanks,
Si.