JaiaBot  1.19.0
JaiaBot micro-AUV software
xbee_extensions.proto
Go to the documentation of this file.
1 syntax = "proto2";
2 import "goby/acomms/protobuf/driver_base.proto"; // load up message DriverBaseConfig
3 import "goby/protobuf/option_extensions.proto";
4 import "dccl/option_extensions.proto";
5 
6 package xbee.protobuf;
7 
8 message Config
9 {
10  option (dccl.msg) = {
11  unit_system: "si"
12  };
13 
14  optional uint64 network_id = 1 [
15  default = 7,
16  (goby.field).description =
17  "Network ID for this fleet (must match other peers in fleet): sets Xbee ATID=network_id"
18  ];
19 
20  optional bool test_comms = 4 [
21  default = false,
22  (goby.field).description =
23  "If true, enables testing functionality and diagnostics"
24  ];
25  optional string xbee_info_location = 5 [
26  default = "/etc/jaiabot/xbee_info.pb.cfg",
27  (goby.field).description =
28  "Location to write a file with serial number and node id to be used by jaiabot_metadata."
29  ];
30 
31  optional int32 hub_id = 6
32  [(goby.field).description =
33  "If this node is a hub, set its hub_id here."];
34 
35  optional bool use_xbee_encryption = 7 [
36  default = false,
37  (goby.field).description =
38  "This is used to determine if we should enable encryption."
39  ];
40 
41  optional string xbee_encryption_password = 8 [
42  default = "",
43  (goby.field).description =
44  "This is used for the encryption password. Password is a 128 bit value (16 bytes)"
45  ];
46 
47  optional string hub_info_location = 9 [
48  default = "/etc/jaiabot/hub_info.pb.cfg",
49  (goby.field).description =
50  "Location to write a file with last hub id received from to initialize to that hub on restart."
51  ];
52 
53  optional string xbee_mesh_unicast_retries = 10 [
54  default = "0",
55  (goby.field).description =
56  "Set or read the maximum number of network packet delivery attempts."
57  ];
58 
59  optional string xbee_unicast_mac_retries = 11 [
60  default = "0",
61  (goby.field).description =
62  "Set or read the maximum number of MAC level packet delivery attempts for unicasts."
63  ];
64 
65  optional string xbee_network_delay_slots = 12 [
66  default = "5",
67  (goby.field).description =
68  "Set or read the maximum random number of network delay slots before rebroadcasting a network packet."
69  ];
70 
71  optional string xbee_broadcast_multi_transmits = 13 [
72  default = "0",
73  (goby.field).description =
74  "Set or read the number of additional MAC-level broadcast transmissions."
75  ];
76 
77  required int32 fleet_id = 14 [(goby.field).description = "Fleet ID"];
78 
79  required uint32 subnet_mask = 15;
80 }
81 
82 extend goby.acomms.protobuf.DriverConfig
83 {
84  optional Config config = 1500;
85 }