2// GobySoft, LLC (2013-)
3// Massachusetts Institute of Technology (2007-2014)
4// Community contributors (see AUTHORS file)
6// Toby Schneider <toby@gobysoft.org>
7// Chris Murphy <cmurphy@aphysci.com>
10// This file is part of the Dynamic Compact Control Language Library
13// DCCL is free software: you can redistribute it and/or modify
14// it under the terms of the GNU Lesser General Public License as published by
15// the Free Software Foundation, either version 2.1 of the License, or
16// (at your option) any later version.
18// DCCL is distributed in the hope that it will be useful,
19// but WITHOUT ANY WARRANTY; without even the implied warranty of
20// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21// GNU Lesser General Public License for more details.
23// You should have received a copy of the GNU Lesser General Public License
24// along with DCCL. If not, see <http://www.gnu.org/licenses/>.
26import "dccl/option_extensions.proto";
31 option (dccl.msg).id = 2;
32 option (dccl.msg).max_bytes = 1;
33 option (dccl.msg).codec_version = 4;
36message ShortIDMsgWithData
38 option (dccl.msg).id = 3;
39 option (dccl.msg).max_bytes = 10;
40 option (dccl.msg).codec_version = 4;
42 optional int32 in_head = 1 [
43 (dccl.field).in_head = true,
45 (dccl.field).max = 100
47 optional int32 in_body = 2 [
48 (dccl.field).in_head = true,
50 (dccl.field).max = 100
56 option (dccl.msg).id = 10000;
57 option (dccl.msg).max_bytes = 2;
58 option (dccl.msg).codec_version = 4;
63 option (dccl.msg).id = 32768;
64 option (dccl.msg).max_bytes = 32;
65 option (dccl.msg).codec_version = 4;
70 option (dccl.msg).id = 128;
71 option (dccl.msg).max_bytes = 2;
72 option (dccl.msg).codec_version = 4;
77 option (dccl.msg).id = 127;
78 option (dccl.msg).max_bytes = 1;
79 option (dccl.msg).codec_version = 4;