Goby v2
simple.proto
1 import "dccl/option_extensions.proto";
2 
3 message Simple
4 {
5  // see http://gobysoft.org/wiki/DcclIdTable
6  option (dccl.msg).id = 124;
7 
8  // if, for example, we want to use on the WHOI Micro-Modem rate 0
9  option (dccl.msg).max_bytes = 32;
10 
11  required string telegram = 1 [(dccl.field).max_length = 30];
12 }