23 lines
236 B
C
23 lines
236 B
C
|
#ifndef CMD_H_
|
||
|
#define CMD_H_
|
||
|
|
||
|
#include <stdint.h>
|
||
|
#include <WString.h>
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
class CmdServer {
|
||
|
public:
|
||
|
CmdServer();
|
||
|
void begin();
|
||
|
void exec();
|
||
|
private:
|
||
|
void parseCommand();
|
||
|
String cmd;
|
||
|
String params;
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif /* CMD_H_ */
|