Goby3  3.1.5a
2024.05.23
test.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 import "dccl/option_extensions.proto";
3 
4 package goby.test.acomms.protobuf;
5 
6 message GobyMessage
7 {
8  option (dccl.msg).id = 4;
9  option (dccl.msg).max_bytes = 32;
10  option (dccl.msg).codec_version = 3;
11 
12  // one byte
13  required int32 dest = 1 [(dccl.field).min = 0, (dccl.field).max = 255];
14  // one byte
15  required int32 telegram = 2 [(dccl.field).min = 0, (dccl.field).max = 255];
16 }