Goby3  3.1.5
2024.05.14
udp_multicast_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_multicast.protobuf;
6 
7 message Config
8 {
9  optional string listen_address = 1 [default = "0.0.0.0"];
10  optional string multicast_address = 2 [default = "239.142.0.1"];
11  optional uint32 multicast_port = 3 [default = 50021];
12  optional int32 max_frame_size = 4 [default = 1400];
13 
14  message RateBytesPair
15  {
16  required int32 rate = 1;
17  required int32 bytes = 2;
18  }
19  repeated RateBytesPair rate_to_bytes = 5 [(goby.field).description="Mapping for rate to maximum packet size (bytes) for simulating different modem packet sizes using UDP multicast"];
20 
21 }
22 
23 extend goby.acomms.protobuf.DriverConfig
24 {
25  optional Config config = 1342;
26 }