JaiaBot 2.0.0
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
echo.proto
Go to the documentation of this file.
1syntax = "proto2";
2
3package jaiabot.protobuf;
4
5message EchoCommand
6{
7 enum EchoCommandType
8 {
9 CMD_START = 0;
10 CMD_STOP = 1;
11 CMD_STORAGE = 2;
12 CMD_ACK = 3;
13 CMD_STATUS = 4;
14 CMD_CH = 5;
15 CMD_FREQ = 6;
16 CMD_TIME = 7;
17 CMD_VER = 8;
18 CMD_HELP = 9;
19 }
20
21 required EchoCommandType type = 1;
22}
23
24enum EchoState
25{
26 BOOTING = 0;
27 OCTOSPI = 1;
28 SD_INIT = 2;
29 SD_MOUNT = 3;
30 SD_CREATE = 4;
31 PSSI_EN = 5;
32 READY = 6;
33 START = 7;
34 STOP = 8;
35 RUNNING = 9;
36}
37
38message EchoData
39{
40 optional EchoState echo_state = 1 [default = BOOTING];
41}
42
43message EchoIssue
44{
45 enum SolutionType
46 {
47 REPORT_ECHO = 0;
48 RESTART_ECHO_PY = 1;
49 REBOOT_ECHO_IMU_AND_RESTART_ECHO_PY = 3;
50 }
51
52 required SolutionType solution = 1;
53}