Goby3  3.1.5a
2024.05.23
opencpn_config.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
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";
9 
10 package goby.apps.zeromq.protobuf;
11 
12 message OpenCPNInterfaceConfig
13 {
14  option (dccl.msg) = {
15  unit_system: "si"
16  };
17 
18  optional goby.middleware.protobuf.AppConfig app = 1;
19  optional goby.zeromq.protobuf.InterProcessPortalConfig interprocess = 2
20  [(goby.field) = { cfg { env: "GOBY_INTERPROCESS" } }];
21 
22  oneof io
23  {
24  goby.middleware.protobuf.TCPServerConfig ais_server = 5;
25  goby.middleware.protobuf.PTYConfig ais_serial = 6;
26  }
27 
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
31  // ground
32  optional int32 filter_length = 11 [default = 2];
33 
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"}}];
38 }