JaiaBot  1.19.0
JaiaBot micro-AUV software
udp_driver.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 import "goby/protobuf/option_extensions.proto";
3 import "goby/acomms/protobuf/driver_base.proto"; // load up message DriverBaseConfig
4 
5 package jaiabot.udp.protobuf;
6 
7 message Config
8 {
9  message EndPoint
10  {
11  optional uint32 modem_id = 1 [default = 0];
12  optional string ip = 2 [default = "127.0.0.1"];
13  required uint32 port = 3;
14  }
15 
16  required EndPoint local = 1
17  [(goby.field).description = "The endpoint of the local machine "
18  "(IP address can be omitted)"];
19  repeated EndPoint remote = 2
20  [(goby.field).description = "An endpoint of the receiving machine."];
21  optional int32 max_frame_size = 3 [default = 1400];
22  optional bool ipv6 = 4 [default = false];
23 
24  repeated uint32 additional_application_ack_modem_id = 21;
25 
26  // Jaia additions
27  optional int32 hub_id = 30
28  [(goby.field).description =
29  "If this node is a hub, set its hub_id here."];
30  required uint32 subnet_mask = 31;
31 
32  message HubEndPoints
33  {
34  required int32 hub_id = 1;
35  required EndPoint remote = 2;
36  }
37  repeated HubEndPoints hub_endpoint = 32;
38 }
39 
40 extend goby.acomms.protobuf.DriverConfig
41 {
42  optional Config config = 1501;
43 }