JaiaBot 2.1.1
JaiaBot micro-AUV software
 
Loading...
Searching...
No Matches
xbee_extensions.proto
Go to the documentation of this file.
1syntax = "proto2";
2import "goby/acomms/protobuf/driver_base.proto"; // load up message DriverBaseConfig
3import "goby/protobuf/option_extensions.proto";
4import "dccl/option_extensions.proto";
5
6package xbee.protobuf;
7
8message 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 bool use_xbee_encryption = 7 [
32 default = false,
33 (goby.field).description =
34 "This is used to determine if we should enable encryption."
35 ];
36
37 optional string xbee_encryption_password = 8 [
38 default = "",
39 (goby.field).description =
40 "This is used for the encryption password. Password is a 128 bit value (16 bytes)"
41 ];
42
43 optional string xbee_mesh_unicast_retries = 10 [
44 default = "0",
45 (goby.field).description =
46 "Set or read the maximum number of network packet delivery attempts."
47 ];
48
49 optional string xbee_unicast_mac_retries = 11 [
50 default = "0",
51 (goby.field).description =
52 "Set or read the maximum number of MAC level packet delivery attempts for unicasts."
53 ];
54
55 optional string xbee_network_delay_slots = 12 [
56 default = "5",
57 (goby.field).description =
58 "Set or read the maximum random number of network delay slots before rebroadcasting a network packet."
59 ];
60
61 optional string xbee_broadcast_multi_transmits = 13 [
62 default = "0",
63 (goby.field).description =
64 "Set or read the number of additional MAC-level broadcast transmissions."
65 ];
66
67 required int32 fleet_id = 14 [(goby.field).description = "Fleet ID"];
68
69 required uint32 subnet_mask = 15;
70
71 optional bool is_in_sim = 16 [
72 default = true,
73 (goby.field).description =
74 "This is used to determine if a simulated XBee needs to be launched"
75 ];
76}
77
78extend goby.acomms.protobuf.DriverConfig
79{
80 optional Config config = 1500;
81}