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";
14 optional uint64 network_id = 1 [
16 (goby.field).description =
17 "Network ID for this fleet (must match other peers in fleet): sets Xbee ATID=network_id"
20 optional bool test_comms = 4 [
22 (goby.field).description =
23 "If true, enables testing functionality and diagnostics"
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."
31 optional int32 hub_id = 6
32 [(goby.field).description =
33 "If this node is a hub, set its hub_id here."];
35 optional bool use_xbee_encryption = 7 [
37 (goby.field).description =
38 "This is used to determine if we should enable encryption."
41 optional string xbee_encryption_password = 8 [
43 (goby.field).description =
44 "This is used for the encryption password. Password is a 128 bit value (16 bytes)"
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."
53 optional string xbee_mesh_unicast_retries = 10 [
55 (goby.field).description =
56 "Set or read the maximum number of network packet delivery attempts."
59 optional string xbee_unicast_mac_retries = 11 [
61 (goby.field).description =
62 "Set or read the maximum number of MAC level packet delivery attempts for unicasts."
65 optional string xbee_network_delay_slots = 12 [
67 (goby.field).description =
68 "Set or read the maximum random number of network delay slots before rebroadcasting a network packet."
71 optional string xbee_broadcast_multi_transmits = 13 [
73 (goby.field).description =
74 "Set or read the number of additional MAC-level broadcast transmissions."
77 required int32 fleet_id = 14 [(goby.field).description = "Fleet ID"];
79 required uint32 subnet_mask = 15;
82 extend goby.acomms.protobuf.DriverConfig
84 optional Config config = 1500;