#include "TextCommand.h"
Static Public Member Functions | |
static void | init (volatile RegisterList *, volatile RegisterList *, CurrentMonitor *) |
static bool | parse (char *com) |
static void | process () |
Static Public Attributes | |
static char | commandString [MAX_COMMAND_LENGTH+1] |
DCC++ BASE STATION COMMUNICATES VIA THE SERIAL PORT USING SINGLE-CHARACTER TEXT COMMANDS WITH OPTIONAL PARAMETERS, AND BRACKETED BY < AND > SYMBOLS. SPACES BETWEEN PARAMETERS ARE REQUIRED. SPACES ANYWHERE ELSE ARE IGNORED. A SPACE BETWEEN THE SINGLE-CHARACTER COMMAND AND THE FIRST PARAMETER IS ALSO NOT REQUIRED.
Definition at line 29 of file TextCommand.h.
|
static |
Analyze text messages and translate them in DCC commands.
com | Text command. The syntax of a command is '1>' for instance to start DCC signal on the tracks. The starting '<' character must be removed. |
|
static |
Receive text messages from external interfaces : Serial or Ethernet..
Definition at line 37 of file TextCommand.cpp.