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