1 /* Copyright (c) 2020 mission systems pty ltd */
4 import "goby/protobuf/option_extensions.proto";
5 import "dccl/option_extensions.proto";
6 import "goby/acomms/protobuf/driver_base.proto"; // load up message DriverBaseConfig
7 import "goby/acomms/protobuf/modem_message.proto";
9 package goby.acomms.popoto.protobuf;
13 optional int32 start_timeout = 1 [
15 (goby.field).description =
16 "Number of seconds to initialize the modem before giving up"
19 optional int32 payload_mode = 2 [
23 (goby.field).description =
24 "The modulation rate of the payload portion of the waveform, 0-5"
27 optional int32 modem_power = 3 [
30 (dccl.field).max = 100,
31 (goby.field).description = "Modem Tx strength 1-100W"
34 // added 1442 in modem driver
35 extend goby.acomms.protobuf.DriverConfig
37 optional Config config = 1442;
43 POPOTO_TWO_WAY_PING = 1; // modem 1 interrogates modem 2; modem 2 replies
44 // and modem 1 computes one way travel time
46 POPOTO_TWO_WAY_RANGE = 3;
47 POPOTO_DEEP_SLEEP = 4;
52 required double one_way_travel_time = 1
53 [(dccl.field).units.unit = "si::second"];
57 optional TransmissionType type = 1 [
58 (goby.field).description =
59 "Type of transmission if base `type` == DRIVER_SPECIFIC",
62 optional RangingReply ranging_reply = 3;
63 optional string file_location = 4;
64 optional double transmit_power = 5;
67 extend goby.acomms.protobuf.ModemTransmission
69 optional Transmission transmission = 1441;