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).
You seem to be using a rather old firmware version like 380.x, where tinyg.h contained: #define STAT_UNRECOGNIZED_COMMAND 40 // parser didn't recognize the command
Recent versions respond with status 100, which is: #define STAT_UNRECOGNIZED_NAME 100 // parser didn't recognize the name
I recommend using the newest version, especially for a developer.