1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-27 01:56:14 +01:00
CommandStation-EX/JMRIParser.h

18 lines
452 B
C
Raw Normal View History

2020-05-27 10:40:12 +02:00
#ifndef JMRIParser_h
#define JMRIParser_h
2020-05-25 14:38:18 +02:00
struct JMRIParser
{
static void parse(Stream & stream,const char * command);
2020-05-25 14:38:18 +02:00
private:
static bool parseT(Stream & stream, int params, int p[]);
static bool parseZ(Stream & stream, int params, int p[]);
static bool parseS(Stream & stream, int params, int p[]);
static const int MAX_PARAMS=10; // longest command sent in
2020-05-25 14:38:18 +02:00
};
#define BOARD_NAME "not yet configured"
2020-05-27 10:40:12 +02:00
#endif