JaiaBot
1.19.0
JaiaBot micro-AUV software
echo.proto
Go to the documentation of this file.
1
syntax = "proto2";
2
3
package jaiabot.protobuf;
4
5
message 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
24
enum 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
38
message EchoData
39
{
40
optional EchoState echo_state = 1 [default = BOOTING];
41
}
42
43
message 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
}
jaiabot
messages
echo.proto
Generated by
1.8.17