I am writing a JSON interface to the TinyG in C++.
In the response after trying to send a homing command, I am getting a status code of 40 and the command does not execute. This is not one of the status code documented at: https://github.com/synthetos/TinyG/wiki/TinyG-Status-Codes
Here is a little print out form my code (Sent and Received are mine).
Serial Port Opened.
Sent:{“sr”:null}
Received:{“r”:{“sr”:{“line”:0,”posx”:0.000,”posy”:0.000,”posz”:0.000,”posa”:0.000,”feed”:0.00,”vel”:0.00,”unit”:1,”coor”:1,”dist”:0,”frmo”:0,”momo”:0,”stat”:1},”f”:[1,0,12,9195]}}
Sent:{“qv”:null}
Received:{“r”:{“qv”:0,”f”:[1,0,12,7578]}}
Sent:{“G28.2″:”X0 Y0”}
Received:{“r”:{“g28.2″:”x0y0″,”f”:[1,40,18,2000]}}
What is status code 40?
Thanks,
James