Goby3 3.2.3
2025.05.13
Loading...
Searching...
No Matches
modem_driver_status.proto
Go to the documentation of this file.
1syntax = "proto2";
2import "dccl/option_extensions.proto";
3
4package goby.acomms.protobuf;
5
6message ModemDriverStatus
7{
8 option (dccl.msg).id = 0x0201;
9 option (dccl.msg).max_bytes = 32;
10 option (dccl.msg).codec_version = 3;
11
12 required int32 src = 1 [
13 (dccl.field).min = 1,
14 (dccl.field).max = 32,
15 (dccl.field).in_head = true
16 ];
17 optional int32 dest = 2 [
18 (dccl.field).min = 1,
19 (dccl.field).max = 32,
20 (dccl.field).in_head = true
21 ];
22
23 required double time = 3
24 [(dccl.field).codec = "_time", (dccl.field).in_head = true];
25
26 enum Status
27 {
28 NOMINAL = 0;
29 CONNECTION_TO_MODEM_FAILED = 1;
30 MODEM_NOT_RESPONDING = 2;
31 STARTUP_FAILED = 3;
32 INVALID_CONFIGURATION = 4;
33 MANUAL_RESET = 5;
34 }
35
36 required Status status = 4;
37
38 optional uint32 n_resets = 5
39 [default = 0, (dccl.field).min = 0, (dccl.field).max = 10000];
40}