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