Goby Underwater Autonomy Project
Series: 1.1, revision: 163, released on 2013-02-06 14:23:27 -0500
|
00001 import "goby/moos/libmoos_util/tes_moos_app.proto"; 00002 import "goby/protobuf/driver_base.proto"; 00003 import "goby/protobuf/queue.proto"; 00004 import "goby/protobuf/amac.proto"; 00005 import "goby/protobuf/dccl.proto"; 00006 import "goby/protobuf/modem_message.proto"; 00007 import "goby/protobuf/option_extensions.proto"; 00008 00009 00010 message pAcommsHandlerConfig 00011 { 00012 optional TesMoosAppConfig common = 1 [(description)="Configuration common to all Goby MOOS applications"]; // see tes_moos_app.proto 00013 00014 // unique identifying integer (1-31) for this vehicle's modem 00015 // setting this will set the modem_id for all the components of goby-acomms 00016 required int32 modem_id = 2 [(description)="Unique number 1-31 to identify this node", (example)="1"]; 00017 00018 // driver 00019 enum DriverType { DRIVER_NONE = 1; DRIVER_WHOI_MICROMODEM = 2; DRIVER_ABC_EXAMPLE_MODEM = 3;} 00020 optional DriverType driver_type = 3 [default = DRIVER_NONE, (description)="Corresponding driver for the type of physical acoustic modem used"]; 00021 optional goby.acomms.protobuf.DriverConfig driver_cfg = 4 [(description)="Configure the acoustic modem driver"]; // see driver_base.proto & mm_driver.proto 00022 00023 // amac 00024 optional goby.acomms.protobuf.MACConfig mac_cfg = 5 [(description)="Configure the acoustic Medium Access Control"]; // see amac.proto 00025 00026 // for queue 00027 optional goby.acomms.protobuf.QueueManagerConfig queue_cfg = 6 [(description)="Configure the Priority Queuing layer"]; // see queue.proto 00028 00029 // for dccl 00030 optional goby.acomms.protobuf.DCCLConfig dccl_cfg = 7 [(description)="Configure the Dynamic Compact Control Language Encoding/Decoding unit"]; // see dccl.proto 00031 00032 00033 // path to text file with entries: 00034 // modem_id,name,type 00035 // for example 00036 // 3,unicorn,auv 00037 optional string modem_id_lookup_path = 101 [(description)="Path to file containing mapping between modem_id and vehicle name & type",(moos_global) = "modem_id_lookup_path"]; 00038 00039 optional bool tcp_share_enable = 200 [default = false, (description)="Enable TCP Sharing (Experimental)"]; 00040 optional uint32 tcp_share_port = 201 [default = 11000, (description)="Port to listen on for TCP Sharing (Experimental)"]; 00041 repeated string tcp_share_to_ip = 202 [(description)="internet_address:port to share incoming messages to (Experimental)."]; // e.g. "192.168.1.42:11000" 00042 } 00043 00044 message pAcommsHandlerExtensions 00045 { 00046 extend goby.acomms.protobuf.ModemDataTransmission 00047 { 00048 repeated string seen_ip = 1000; 00049 } 00050 }