JaiaBot  1.19.0
JaiaBot micro-AUV software
lora_test.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 
3 import "dccl/option_extensions.proto";
4 import "jaiabot/messages/feather.proto";
5 import "goby/middleware/protobuf/gpsd.proto";
6 import "jaiabot/messages/geographic_coordinate.proto";
7 
8 package jaiabot.protobuf;
9 
10 message LoRaTestData
11 {
12  option (dccl.msg) = {
13  id: 124
14  max_bytes: 64
15  codec_version: 3
16  unit_system: "si"
17  };
18 
19  required uint64 time = 1 [(dccl.field) = {
20  codec: "dccl.time2"
21  units { prefix: "micro" derived_dimensions: "time" }
22  }];
23 
24  required uint32 index = 2 [(dccl.field) = { min: 0 max: 1000 }];
25 
26  required GeographicCoordinate location = 10;
27 }
28 
29 message LoRaReport
30 {
31  option (dccl.msg) = {
32  unit_system: "si"
33  };
34 
35  enum Status
36  {
37  GOOD_RECEPTION = 1;
38  NO_PACKET = 2;
39  }
40 
41  required uint64 time = 1 [(dccl.field) = {
42  codec: "dccl.time2"
43  units { prefix: "micro" derived_dimensions: "time" }
44  }];
45 
46  required Status status = 10;
47  optional LoRaMessage feather_msg = 20;
48  optional LoRaTestData test_data = 30;
49  optional goby.middleware.protobuf.gpsd.TimePositionVelocity gps_tpv = 40;
50  optional double range = 50
51  [(dccl.field) = { units { base_dimensions: "L" } }];
52  optional double packet_success = 60;
53 }