6typedef void (*GPSPCallBack)(Stream &stream,
const char args[][50],
int size);
22 static void printError(Stream &stream,
const char *errorMessage);
26 char args_temp[10][50];
31 void helpCommand(
const char args[][50],
int size);
32 void printCommand(
Command command);
static void printError(Stream &stream, const char *errorMessage)
Prints "Error:" followed by the message.
Definition: GPSP.cpp:75
void defineCommand(Command command)
Adds a new command to the List of Commands.
Definition: GPSP.cpp:20
Stream & getStream()
Return the stream used by this GPSP instance.
Definition: GPSP.cpp:94
void update()
Reads available data from Stream and stores it in a buffer until a NewLine or Semicolon is encountere...
Definition: GPSP.cpp:55
char * description
Definition: GPSP.h:14
GPSPCallBack callback
Definition: GPSP.h:12
char * name
Definition: GPSP.h:13