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