25 #ifndef ACE_ROUTINE_SERIAL_READER_H 26 #define ACE_ROUTINE_SERIAL_READER_H 107 bool getLine(
bool* isError,
char** line);
118 void pushback(
char c) {
133 bool addToBuffer(
char c);
StreamReader(Stream &serial, char *buf, int bufSize)
Constructor.
bool getChar(char *c)
Get a character from serial port.
bool getLine(bool *isError, char **line)
Get a line.
bool getInteger(bool *isError, int *value)
Get an integer.
Reads tokens (lines, words, integers, characters, etc) from the Stream device.
bool skipWhiteSpace()
Skip whitespace.
bool getComma(bool *isError)
Parse a comma.
bool getWordString(bool *isError, char **word)
Get a string bounded by whitespace, i.e.