When parsing commands, first separate the commands with "\n", and then separate the command word
and parameters of each command with“#”. The characters after "\n" are divided to the next command for
parsing.
Command Words
We have defined the following 18 command words.
#define ACTION_UP_DOWN 'A'
#define ACTION_BODY_HEIGHT 'B'
#define ACTION_RGB 'C'
#define ACTION_BUZZER 'D'
#define ACTION_TWIST 'E'
#define ACTION_MOVE_ANY 'F'
#define ACTION_CAMERA 'G'
#define ACTION_ULTRASONIC 'H'
#define ACTION_GET_VOLTAGE 'I'
#define ACTION_CALIBRATE 'J'
#define ACTION_SET_NVS 'K'
#define ACTION_INSTALLATION 'L'
#define ACTION_AUTO_WALKING 'M'
#define ACTION_NETWORK 'N'
#define ACTION_DANCING 'O'
#define ACTION_SET_ROBOT 'R'
#define ACTION_TEST 'T'
#define ID_CHECK 'W'