Goby3 3.1.5a
2024.05.23
Loading...
Searching...
No Matches
test.proto
Go to the documentation of this file.
1syntax = "proto2";
2import "dccl/option_extensions.proto";
3import "goby/protobuf/option_extensions.proto";
4
5package goby.test.acomms.protobuf;
6
7message RouteMessage
8{
9 option (dccl.msg).id = 1;
10 option (dccl.msg).max_bytes = 32;
11 option (dccl.msg).unit_system = "si";
12
13 required uint64 time = 1 [
14 (dccl.field).codec = "_time",
15 (dccl.field).in_head = true,
16 (dccl.field).units = {prefix: "micro" base_dimensions: "T"}
17 ];
18 required int32 src = 2 [
19 (dccl.field).min = 0,
20 (dccl.field).max = 65535,
21 (dccl.field).in_head = true
22 ];
23 required int32 dest = 3 [
24 (dccl.field).min = 0,
25 (dccl.field).max = 65535,
26 (dccl.field).in_head = true
27 ];
28 required string telegram = 4 [(dccl.field).max_length = 10];
29}