3 import "goby/middleware/protobuf/app_config.proto";
4 import "goby/middleware/protobuf/pty_config.proto";
5 import "goby/middleware/protobuf/tcp_config.proto";
6 import "goby/zeromq/protobuf/interprocess_config.proto";
7 import "dccl/option_extensions.proto";
8 import "goby/protobuf/option_extensions.proto";
10 package goby.apps.zeromq.protobuf;
12 message OpenCPNInterfaceConfig
18 optional goby.middleware.protobuf.AppConfig app = 1;
19 optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2
20 [(goby.field) = { cfg { env: "GOBY_INTERPROCESS" } }];
24 goby.middleware.protobuf.TCPServerConfig ais_server = 5;
25 goby.middleware.protobuf.PTYConfig ais_serial = 6;
28 // "981-988 used for daughter craft"
29 optional int32 mmsi_start = 10 [default = 988700000];
30 // how many status reports to estimate speed over ground / course over
32 optional int32 filter_length = 11 [default = 2];
34 optional double position_report_interval = 12
35 [default = 1, (dccl.field) = {units {base_dimensions: "T"}}];
36 optional double voyage_report_interval = 13
37 [default = 30, (dccl.field) = {units {base_dimensions: "T"}}];