Goby v2
ufield_sim_driver.proto
1 
2 import "goby/acomms/protobuf/driver_base.proto";
3 import "goby/moos/protobuf/modem_id_lookup.proto";
4 import "goby/acomms/protobuf/modem_message.proto";
5 import "dccl/option_extensions.proto";
6 
7 package goby.moos.protobuf;
8 
9 message MicroModemMimic
10 {
11  optional string range_request_var = 1 [default = "CRS_RANGE_REQUEST"];
12  optional string range_report_var = 2 [default = "CRS_RANGE_REPORT"];
13 }
14 
15 message Config
16 {
17  extend goby.acomms.protobuf.DriverConfig
18  {
19  optional string moos_server = 1300 [default = "localhost"];
20  optional int32 moos_port = 1301 [default = 9000];
21 
22  optional string incoming_moos_var = 1302
23  [default = "ACOMMS_UFIELD_DRIVER_IN"];
24  optional string outgoing_moos_var = 1303
25  [default = "ACOMMS_UFIELD_DRIVER_OUT"];
26 
27  optional string ufield_outgoing_moos_var = 1304
28  [default = "NODE_MESSAGE_LOCAL"];
29 
30  repeated int32 rate_to_bytes = 1305;
31 
32  optional string modem_id_lookup_path = 1306;
33 
34  optional MicroModemMimic micromodem_mimic = 1307;
35 
36  // repeated ModemIdEntry id_entry = 1306;
37  }
38 }
39 
40 enum TransmissionType
41 {
42  BASE_TYPE = 0;
43  UFIELD_DRIVER_POLL = 1;
44 }
45 
46 extend goby.acomms.protobuf.ModemTransmission
47 {
48  optional TransmissionType type = 1300 [default = BASE_TYPE];
49 
50  // used in UFIELD_DRIVER_POLL message
51  optional int32 poll_src = 1301 [(dccl.field).omit = true];
52  optional int32 poll_dest = 1302 [(dccl.field).omit = true];
53 };