Enhanced version of Simon Ford's RPC demo program allowing command-line editing and providing interactive help. Includes Stream (Serial, etc.) line editing routine in separate files.
File content as of revision 0:ec7de5c0199f:
mbed_save_all(callback); } // receive a line from a stream, allowing backspace editing, // and checking for buffer overflow. Terminates on either a \n or \r. extern size_t getline(Stream &s, char *buf, size_t bufsize);