2 import "goby/protobuf/option_extensions.proto";
3 import "dccl/option_extensions.proto";
5 package goby.acomms.protobuf;
7 message ModemDriverStatus
9 option (dccl.msg).id = 0x0201;
10 option (dccl.msg).max_bytes = 32;
11 option (dccl.msg).codec_version = 3;
13 required int32 src = 1 [
15 (dccl.field).max = 32,
16 (dccl.field).in_head = true
18 optional int32 dest = 2 [
20 (dccl.field).max = 32,
21 (dccl.field).in_head = true
24 required double time = 3
25 [(dccl.field).codec = "_time", (dccl.field).in_head = true];
30 CONNECTION_TO_MODEM_FAILED = 1;
31 MODEM_NOT_RESPONDING = 2;
33 INVALID_CONFIGURATION = 4;
37 required Status status = 4;
39 optional uint32 n_resets = 5
40 [default = 0, (dccl.field).min = 0, (dccl.field).max = 10000];