2021-12-19 18:21:09 +00:00
|
|
|
enum Command {
|
|
|
|
HELLO = 0,
|
|
|
|
ALREADY_CONNECTED = 1,
|
|
|
|
ERROR = 2,
|
|
|
|
RECEIVED = 3,
|
|
|
|
|
|
|
|
MOTOR_H = 'H',
|
2021-12-20 17:31:49 +00:00
|
|
|
MOTOR_V = 'V',
|
2021-12-19 18:21:09 +00:00
|
|
|
|
|
|
|
BACKLIGHT = 'B',
|
|
|
|
FRONTLIGHT = 'F',
|
|
|
|
|
|
|
|
USER_INTERACT = 'U',
|
2022-01-05 18:07:50 +00:00
|
|
|
|
|
|
|
RESP_BLUE = 'X',
|
|
|
|
RESP_RED = 'O',
|
|
|
|
RESP_YELLOW = 'Y',
|
|
|
|
RESP_GREEN = 'N',
|
2021-12-19 18:21:09 +00:00
|
|
|
|
|
|
|
RECORD = 'C',
|
|
|
|
REWIND = 'R',
|
2022-01-11 19:20:05 +00:00
|
|
|
|
|
|
|
DEBUG_SCROLL = 'S',
|
|
|
|
DEBUG_SENSORS = 'Z',
|
|
|
|
|
2021-12-19 18:21:09 +00:00
|
|
|
EOT = '\n'
|
|
|
|
};
|
|
|
|
|
|
|
|
typedef enum Command Command;
|