Hi,
In the Thread API under the Command Line Interface section, there are the following functions:
void otCliConsoleInit(otInstance *aInstance, otCliConsoleOutputCallback aCallback, void *aContext)
void otCliConsoleInputLine(char *aBuf, uint16_t aBufLength)
I'm assuming these functions can be used to manually input in main()
an OpenThread command from the list shown here and log the output response without using the CLI console?
I hope someone can shed some light on this.