Goby3  3.1.5
2024.05.14
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 goby.acomms.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 [(goby.field).description =
17  "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 }
27 
28 extend goby.acomms.protobuf.DriverConfig
29 {
30  optional Config config = 1341;
31 }