1/* Copyright (c) 2020 mission systems pty ltd */
4import "goby/protobuf/option_extensions.proto";
5import "dccl/option_extensions.proto";
6import "goby/acomms/protobuf/driver_base.proto"; // load up message DriverBaseConfig
7import "goby/acomms/protobuf/modem_message.proto";
9package 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 double modem_power = 3 [
29 (dccl.field).min = 0.1,
30 (dccl.field).max = 100,
31 (dccl.field).precision = 2,
32 (goby.field).description = "Modem Tx strength 1-100W"
35 optional int32 application_type = 5 [
39 (goby.field).description = "Application type for JANUS message"
42// added 1442 in modem driver
43extend goby.acomms.protobuf.DriverConfig
45 optional Config config = 1442;
52 // POPOTO_TWO_WAY_PING = 1; // replaced by POPOTO_TWO_WAY_RANGE_REQUEST / POPOTO_TWO_WAY_RANGE_RESPONSE
56 POPOTO_TWO_WAY_RANGE_REQUEST = 3; // Ranging request
57 POPOTO_TWO_WAY_RANGE_RESPONSE =
58 4; // Response that you receive to a ranging request
59 POPOTO_DEEP_SLEEP = 5;
65 required double one_way_travel_time = 1
66 [(dccl.field).units.unit =
67 "si::second"]; // Popoto doesn't give this. This will be
68 // calculated by the driver using TWTT
69 optional double two_way_travel_time = 2
70 [(dccl.field).units.unit = "si::second"];
71 optional double modem_range = 3; // meters
72 optional double modem_sound_speed = 4; // m/s
76 optional TransmissionType type = 1 [
77 (goby.field).description =
78 "Type of transmission if base `type` == DRIVER_SPECIFIC",
81 optional RangingReply ranging_reply = 3;
82 optional string file_location = 4;
83 optional double transmit_power = 5;
86extend goby.acomms.protobuf.ModemTransmission
88 optional Transmission transmission = 1441;