meshtastic 0.0.122 → 0.0.123

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6d8a18b5f55e128ed0c7c47c411f7e78ebb8e6a4554dcb145939f3e7b337b0fb
4
- data.tar.gz: 8d8c7b5ca02e2e7bbc906167d08f764ec57c74cbc2020ebc5efd20779983bff3
3
+ metadata.gz: f9916c4717f35e0c94b098f3c1d0b4b8a98176b4bd6a7509dc6ab455048c4bb0
4
+ data.tar.gz: 6f88662e58de08111c90c6ae1a510a2c28ddb508ea2eed6777cf95b48bb3aa0e
5
5
  SHA512:
6
- metadata.gz: 737add001efbbfe96aa189a047f45f9833a178c96ffa5e81a69a78ea056b4391d0bfd0756fad0611c0d7fe0b95dec96cbed1b8b49e0ccea17e8f6bc66c54991a
7
- data.tar.gz: a44b2b1abc6fc2d1b5afef6b7580a195bfaa3c1037795c3e23a278a46b04330e546268a4b365a2ef373153e0a12eba8a716b2af26c292b6c52305d56a03bcb50
6
+ metadata.gz: c74f495cde0efe6bfed7cc5b16b03a926360fea67fda5a7e84a29b5f00ba6a8c58adf7337ae69d96e9fedcb948b846e45549b130f0f5fdfa34119767b07819e2
7
+ data.tar.gz: 0ca8eca7a312d58dab33f50803cac61f2a92f0fa3151f0ae78a6dfc74d080d6d28d6913d2ff5bbc756cfdf2e5e2400539bc30fce2d0b4322558fbdf09e7c123b
@@ -21,7 +21,7 @@ else
21
21
  fi
22
22
 
23
23
  cd $mesh_protobufs_root
24
- sudo protoc --proto_path=. --ruby_out=$mesh_protobufs_out nanopb.proto ./meshtastic/*.proto
24
+ rvmsudo grpc_tools_ruby_protoc --proto_path=. --ruby_out=$mesh_protobufs_out nanopb.proto ./meshtastic/*.proto
25
25
 
26
26
  if (( $? == 0 )); then
27
27
  echo "Updated meshtastic protobufs reside in ${mesh_protobufs_out}"
data/Gemfile CHANGED
@@ -9,8 +9,8 @@ gemspec
9
9
  gem 'bundler', '>=2.6.8'
10
10
  gem 'bundle-audit', '0.1.0'
11
11
  gem 'geocoder', '1.8.5'
12
- # gem 'google-protobuf', '3.21.12'
13
12
  gem 'google-protobuf', '4.30.2'
13
+ gem 'grpc-tools', '1.71.0'
14
14
  gem 'mqtt', '0.6.0'
15
15
  gem 'rake', '13.2.1'
16
16
  gem 'rdoc', '6.13.1'
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: meshtastic/admin.proto
3
4
 
@@ -10,106 +11,11 @@ require 'meshtastic/mesh_pb'
10
11
  require 'meshtastic/module_config_pb'
11
12
  require 'meshtastic/device_ui_pb'
12
13
 
13
- Google::Protobuf::DescriptorPool.generated_pool.build do
14
- add_file("meshtastic/admin.proto", :syntax => :proto3) do
15
- add_message "meshtastic.AdminMessage" do
16
- optional :session_passkey, :bytes, 101
17
- oneof :payload_variant do
18
- optional :get_channel_request, :uint32, 1
19
- optional :get_channel_response, :message, 2, "meshtastic.Channel"
20
- optional :get_owner_request, :bool, 3
21
- optional :get_owner_response, :message, 4, "meshtastic.User"
22
- optional :get_config_request, :enum, 5, "meshtastic.AdminMessage.ConfigType"
23
- optional :get_config_response, :message, 6, "meshtastic.Config"
24
- optional :get_module_config_request, :enum, 7, "meshtastic.AdminMessage.ModuleConfigType"
25
- optional :get_module_config_response, :message, 8, "meshtastic.ModuleConfig"
26
- optional :get_canned_message_module_messages_request, :bool, 10
27
- optional :get_canned_message_module_messages_response, :string, 11
28
- optional :get_device_metadata_request, :bool, 12
29
- optional :get_device_metadata_response, :message, 13, "meshtastic.DeviceMetadata"
30
- optional :get_ringtone_request, :bool, 14
31
- optional :get_ringtone_response, :string, 15
32
- optional :get_device_connection_status_request, :bool, 16
33
- optional :get_device_connection_status_response, :message, 17, "meshtastic.DeviceConnectionStatus"
34
- optional :set_ham_mode, :message, 18, "meshtastic.HamParameters"
35
- optional :get_node_remote_hardware_pins_request, :bool, 19
36
- optional :get_node_remote_hardware_pins_response, :message, 20, "meshtastic.NodeRemoteHardwarePinsResponse"
37
- optional :enter_dfu_mode_request, :bool, 21
38
- optional :delete_file_request, :string, 22
39
- optional :set_scale, :uint32, 23
40
- optional :backup_preferences, :enum, 24, "meshtastic.AdminMessage.BackupLocation"
41
- optional :restore_preferences, :enum, 25, "meshtastic.AdminMessage.BackupLocation"
42
- optional :remove_backup_preferences, :enum, 26, "meshtastic.AdminMessage.BackupLocation"
43
- optional :set_owner, :message, 32, "meshtastic.User"
44
- optional :set_channel, :message, 33, "meshtastic.Channel"
45
- optional :set_config, :message, 34, "meshtastic.Config"
46
- optional :set_module_config, :message, 35, "meshtastic.ModuleConfig"
47
- optional :set_canned_message_module_messages, :string, 36
48
- optional :set_ringtone_message, :string, 37
49
- optional :remove_by_nodenum, :uint32, 38
50
- optional :set_favorite_node, :uint32, 39
51
- optional :remove_favorite_node, :uint32, 40
52
- optional :set_fixed_position, :message, 41, "meshtastic.Position"
53
- optional :remove_fixed_position, :bool, 42
54
- optional :set_time_only, :fixed32, 43
55
- optional :get_ui_config_request, :bool, 44
56
- optional :get_ui_config_response, :message, 45, "meshtastic.DeviceUIConfig"
57
- optional :store_ui_config, :message, 46, "meshtastic.DeviceUIConfig"
58
- optional :set_ignored_node, :uint32, 47
59
- optional :remove_ignored_node, :uint32, 48
60
- optional :begin_edit_settings, :bool, 64
61
- optional :commit_edit_settings, :bool, 65
62
- optional :factory_reset_device, :int32, 94
63
- optional :reboot_ota_seconds, :int32, 95
64
- optional :exit_simulator, :bool, 96
65
- optional :reboot_seconds, :int32, 97
66
- optional :shutdown_seconds, :int32, 98
67
- optional :factory_reset_config, :int32, 99
68
- optional :nodedb_reset, :int32, 100
69
- end
70
- end
71
- add_enum "meshtastic.AdminMessage.ConfigType" do
72
- value :DEVICE_CONFIG, 0
73
- value :POSITION_CONFIG, 1
74
- value :POWER_CONFIG, 2
75
- value :NETWORK_CONFIG, 3
76
- value :DISPLAY_CONFIG, 4
77
- value :LORA_CONFIG, 5
78
- value :BLUETOOTH_CONFIG, 6
79
- value :SECURITY_CONFIG, 7
80
- value :SESSIONKEY_CONFIG, 8
81
- value :DEVICEUI_CONFIG, 9
82
- end
83
- add_enum "meshtastic.AdminMessage.ModuleConfigType" do
84
- value :MQTT_CONFIG, 0
85
- value :SERIAL_CONFIG, 1
86
- value :EXTNOTIF_CONFIG, 2
87
- value :STOREFORWARD_CONFIG, 3
88
- value :RANGETEST_CONFIG, 4
89
- value :TELEMETRY_CONFIG, 5
90
- value :CANNEDMSG_CONFIG, 6
91
- value :AUDIO_CONFIG, 7
92
- value :REMOTEHARDWARE_CONFIG, 8
93
- value :NEIGHBORINFO_CONFIG, 9
94
- value :AMBIENTLIGHTING_CONFIG, 10
95
- value :DETECTIONSENSOR_CONFIG, 11
96
- value :PAXCOUNTER_CONFIG, 12
97
- end
98
- add_enum "meshtastic.AdminMessage.BackupLocation" do
99
- value :FLASH, 0
100
- value :SD, 1
101
- end
102
- add_message "meshtastic.HamParameters" do
103
- optional :call_sign, :string, 1
104
- optional :tx_power, :int32, 2
105
- optional :frequency, :float, 3
106
- optional :short_name, :string, 4
107
- end
108
- add_message "meshtastic.NodeRemoteHardwarePinsResponse" do
109
- repeated :node_remote_hardware_pins, :message, 1, "meshtastic.NodeRemoteHardwarePin"
110
- end
111
- end
112
- end
14
+
15
+ descriptor_data = "\n\x16meshtastic/admin.proto\x12\nmeshtastic\x1a\x18meshtastic/channel.proto\x1a\x17meshtastic/config.proto\x1a\"meshtastic/connection_status.proto\x1a\x15meshtastic/mesh.proto\x1a\x1emeshtastic/module_config.proto\x1a\x1ameshtastic/device_ui.proto\"\xd0\x16\n\x0c\x41\x64minMessage\x12\x17\n\x0fsession_passkey\x18\x65 \x01(\x0c\x12\x1d\n\x13get_channel_request\x18\x01 \x01(\rH\x00\x12\x33\n\x14get_channel_response\x18\x02 \x01(\x0b\x32\x13.meshtastic.ChannelH\x00\x12\x1b\n\x11get_owner_request\x18\x03 \x01(\x08H\x00\x12.\n\x12get_owner_response\x18\x04 \x01(\x0b\x32\x10.meshtastic.UserH\x00\x12\x41\n\x12get_config_request\x18\x05 \x01(\x0e\x32#.meshtastic.AdminMessage.ConfigTypeH\x00\x12\x31\n\x13get_config_response\x18\x06 \x01(\x0b\x32\x12.meshtastic.ConfigH\x00\x12N\n\x19get_module_config_request\x18\x07 \x01(\x0e\x32).meshtastic.AdminMessage.ModuleConfigTypeH\x00\x12>\n\x1aget_module_config_response\x18\x08 \x01(\x0b\x32\x18.meshtastic.ModuleConfigH\x00\x12\x34\n*get_canned_message_module_messages_request\x18\n \x01(\x08H\x00\x12\x35\n+get_canned_message_module_messages_response\x18\x0b \x01(\tH\x00\x12%\n\x1bget_device_metadata_request\x18\x0c \x01(\x08H\x00\x12\x42\n\x1cget_device_metadata_response\x18\r \x01(\x0b\x32\x1a.meshtastic.DeviceMetadataH\x00\x12\x1e\n\x14get_ringtone_request\x18\x0e \x01(\x08H\x00\x12\x1f\n\x15get_ringtone_response\x18\x0f \x01(\tH\x00\x12.\n$get_device_connection_status_request\x18\x10 \x01(\x08H\x00\x12S\n%get_device_connection_status_response\x18\x11 \x01(\x0b\x32\".meshtastic.DeviceConnectionStatusH\x00\x12\x31\n\x0cset_ham_mode\x18\x12 \x01(\x0b\x32\x19.meshtastic.HamParametersH\x00\x12/\n%get_node_remote_hardware_pins_request\x18\x13 \x01(\x08H\x00\x12\\\n&get_node_remote_hardware_pins_response\x18\x14 \x01(\x0b\x32*.meshtastic.NodeRemoteHardwarePinsResponseH\x00\x12 \n\x16\x65nter_dfu_mode_request\x18\x15 \x01(\x08H\x00\x12\x1d\n\x13\x64\x65lete_file_request\x18\x16 \x01(\tH\x00\x12\x13\n\tset_scale\x18\x17 \x01(\rH\x00\x12\x45\n\x12\x62\x61\x63kup_preferences\x18\x18 \x01(\x0e\x32\'.meshtastic.AdminMessage.BackupLocationH\x00\x12\x46\n\x13restore_preferences\x18\x19 \x01(\x0e\x32\'.meshtastic.AdminMessage.BackupLocationH\x00\x12L\n\x19remove_backup_preferences\x18\x1a \x01(\x0e\x32\'.meshtastic.AdminMessage.BackupLocationH\x00\x12%\n\tset_owner\x18 \x01(\x0b\x32\x10.meshtastic.UserH\x00\x12*\n\x0bset_channel\x18! \x01(\x0b\x32\x13.meshtastic.ChannelH\x00\x12(\n\nset_config\x18\" \x01(\x0b\x32\x12.meshtastic.ConfigH\x00\x12\x35\n\x11set_module_config\x18# \x01(\x0b\x32\x18.meshtastic.ModuleConfigH\x00\x12,\n\"set_canned_message_module_messages\x18$ \x01(\tH\x00\x12\x1e\n\x14set_ringtone_message\x18% \x01(\tH\x00\x12\x1b\n\x11remove_by_nodenum\x18& \x01(\rH\x00\x12\x1b\n\x11set_favorite_node\x18\' \x01(\rH\x00\x12\x1e\n\x14remove_favorite_node\x18( \x01(\rH\x00\x12\x32\n\x12set_fixed_position\x18) \x01(\x0b\x32\x14.meshtastic.PositionH\x00\x12\x1f\n\x15remove_fixed_position\x18* \x01(\x08H\x00\x12\x17\n\rset_time_only\x18+ \x01(\x07H\x00\x12\x1f\n\x15get_ui_config_request\x18, \x01(\x08H\x00\x12<\n\x16get_ui_config_response\x18- \x01(\x0b\x32\x1a.meshtastic.DeviceUIConfigH\x00\x12\x35\n\x0fstore_ui_config\x18. \x01(\x0b\x32\x1a.meshtastic.DeviceUIConfigH\x00\x12\x1a\n\x10set_ignored_node\x18/ \x01(\rH\x00\x12\x1d\n\x13remove_ignored_node\x18\x30 \x01(\rH\x00\x12\x1d\n\x13\x62\x65gin_edit_settings\x18@ \x01(\x08H\x00\x12\x1e\n\x14\x63ommit_edit_settings\x18\x41 \x01(\x08H\x00\x12\x1e\n\x14\x66\x61\x63tory_reset_device\x18^ \x01(\x05H\x00\x12\x1c\n\x12reboot_ota_seconds\x18_ \x01(\x05H\x00\x12\x18\n\x0e\x65xit_simulator\x18` \x01(\x08H\x00\x12\x18\n\x0ereboot_seconds\x18\x61 \x01(\x05H\x00\x12\x1a\n\x10shutdown_seconds\x18\x62 \x01(\x05H\x00\x12\x1e\n\x14\x66\x61\x63tory_reset_config\x18\x63 \x01(\x05H\x00\x12\x16\n\x0cnodedb_reset\x18\x64 \x01(\x05H\x00\"\xd6\x01\n\nConfigType\x12\x11\n\rDEVICE_CONFIG\x10\x00\x12\x13\n\x0fPOSITION_CONFIG\x10\x01\x12\x10\n\x0cPOWER_CONFIG\x10\x02\x12\x12\n\x0eNETWORK_CONFIG\x10\x03\x12\x12\n\x0e\x44ISPLAY_CONFIG\x10\x04\x12\x0f\n\x0bLORA_CONFIG\x10\x05\x12\x14\n\x10\x42LUETOOTH_CONFIG\x10\x06\x12\x13\n\x0fSECURITY_CONFIG\x10\x07\x12\x15\n\x11SESSIONKEY_CONFIG\x10\x08\x12\x13\n\x0f\x44\x45VICEUI_CONFIG\x10\t\"\xbb\x02\n\x10ModuleConfigType\x12\x0f\n\x0bMQTT_CONFIG\x10\x00\x12\x11\n\rSERIAL_CONFIG\x10\x01\x12\x13\n\x0f\x45XTNOTIF_CONFIG\x10\x02\x12\x17\n\x13STOREFORWARD_CONFIG\x10\x03\x12\x14\n\x10RANGETEST_CONFIG\x10\x04\x12\x14\n\x10TELEMETRY_CONFIG\x10\x05\x12\x14\n\x10\x43\x41NNEDMSG_CONFIG\x10\x06\x12\x10\n\x0c\x41UDIO_CONFIG\x10\x07\x12\x19\n\x15REMOTEHARDWARE_CONFIG\x10\x08\x12\x17\n\x13NEIGHBORINFO_CONFIG\x10\t\x12\x1a\n\x16\x41MBIENTLIGHTING_CONFIG\x10\n\x12\x1a\n\x16\x44\x45TECTIONSENSOR_CONFIG\x10\x0b\x12\x15\n\x11PAXCOUNTER_CONFIG\x10\x0c\"#\n\x0e\x42\x61\x63kupLocation\x12\t\n\x05\x46LASH\x10\x00\x12\x06\n\x02SD\x10\x01\x42\x11\n\x0fpayload_variant\"[\n\rHamParameters\x12\x11\n\tcall_sign\x18\x01 \x01(\t\x12\x10\n\x08tx_power\x18\x02 \x01(\x05\x12\x11\n\tfrequency\x18\x03 \x01(\x02\x12\x12\n\nshort_name\x18\x04 \x01(\t\"f\n\x1eNodeRemoteHardwarePinsResponse\x12\x44\n\x19node_remote_hardware_pins\x18\x01 \x03(\x0b\x32!.meshtastic.NodeRemoteHardwarePinB`\n\x13\x63om.geeksville.meshB\x0b\x41\x64minProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
16
+
17
+ pool = Google::Protobuf::DescriptorPool.generated_pool
18
+ pool.add_serialized_file(descriptor_data)
113
19
 
114
20
  module Meshtastic
115
21
  AdminMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.AdminMessage").msgclass
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: meshtastic/apponly.proto
3
4
 
@@ -6,14 +7,11 @@ require 'google/protobuf'
6
7
  require 'meshtastic/channel_pb'
7
8
  require 'meshtastic/config_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("meshtastic/apponly.proto", :syntax => :proto3) do
11
- add_message "meshtastic.ChannelSet" do
12
- repeated :settings, :message, 1, "meshtastic.ChannelSettings"
13
- optional :lora_config, :message, 2, "meshtastic.Config.LoRaConfig"
14
- end
15
- end
16
- end
10
+
11
+ descriptor_data = "\n\x18meshtastic/apponly.proto\x12\nmeshtastic\x1a\x18meshtastic/channel.proto\x1a\x17meshtastic/config.proto\"o\n\nChannelSet\x12-\n\x08settings\x18\x01 \x03(\x0b\x32\x1b.meshtastic.ChannelSettings\x12\x32\n\x0blora_config\x18\x02 \x01(\x0b\x32\x1d.meshtastic.Config.LoRaConfigBb\n\x13\x63om.geeksville.meshB\rAppOnlyProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
17
15
 
18
16
  module Meshtastic
19
17
  ChannelSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ChannelSet").msgclass
@@ -1,74 +1,14 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: meshtastic/atak.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("meshtastic/atak.proto", :syntax => :proto3) do
8
- add_message "meshtastic.TAKPacket" do
9
- optional :is_compressed, :bool, 1
10
- optional :contact, :message, 2, "meshtastic.Contact"
11
- optional :group, :message, 3, "meshtastic.Group"
12
- optional :status, :message, 4, "meshtastic.Status"
13
- oneof :payload_variant do
14
- optional :pli, :message, 5, "meshtastic.PLI"
15
- optional :chat, :message, 6, "meshtastic.GeoChat"
16
- optional :detail, :bytes, 7
17
- end
18
- end
19
- add_message "meshtastic.GeoChat" do
20
- optional :message, :string, 1
21
- proto3_optional :to, :string, 2
22
- proto3_optional :to_callsign, :string, 3
23
- end
24
- add_message "meshtastic.Group" do
25
- optional :role, :enum, 1, "meshtastic.MemberRole"
26
- optional :team, :enum, 2, "meshtastic.Team"
27
- end
28
- add_message "meshtastic.Status" do
29
- optional :battery, :uint32, 1
30
- end
31
- add_message "meshtastic.Contact" do
32
- optional :callsign, :string, 1
33
- optional :device_callsign, :string, 2
34
- end
35
- add_message "meshtastic.PLI" do
36
- optional :latitude_i, :sfixed32, 1
37
- optional :longitude_i, :sfixed32, 2
38
- optional :altitude, :int32, 3
39
- optional :speed, :uint32, 4
40
- optional :course, :uint32, 5
41
- end
42
- add_enum "meshtastic.Team" do
43
- value :Unspecifed_Color, 0
44
- value :White, 1
45
- value :Yellow, 2
46
- value :Orange, 3
47
- value :Magenta, 4
48
- value :Red, 5
49
- value :Maroon, 6
50
- value :Purple, 7
51
- value :Dark_Blue, 8
52
- value :Blue, 9
53
- value :Cyan, 10
54
- value :Teal, 11
55
- value :Green, 12
56
- value :Dark_Green, 13
57
- value :Brown, 14
58
- end
59
- add_enum "meshtastic.MemberRole" do
60
- value :Unspecifed, 0
61
- value :TeamMember, 1
62
- value :TeamLead, 2
63
- value :HQ, 3
64
- value :Sniper, 4
65
- value :Medic, 5
66
- value :ForwardObserver, 6
67
- value :RTO, 7
68
- value :K9, 8
69
- end
70
- end
71
- end
7
+
8
+ descriptor_data = "\n\x15meshtastic/atak.proto\x12\nmeshtastic\"\xf8\x01\n\tTAKPacket\x12\x15\n\ris_compressed\x18\x01 \x01(\x08\x12$\n\x07\x63ontact\x18\x02 \x01(\x0b\x32\x13.meshtastic.Contact\x12 \n\x05group\x18\x03 \x01(\x0b\x32\x11.meshtastic.Group\x12\"\n\x06status\x18\x04 \x01(\x0b\x32\x12.meshtastic.Status\x12\x1e\n\x03pli\x18\x05 \x01(\x0b\x32\x0f.meshtastic.PLIH\x00\x12#\n\x04\x63hat\x18\x06 \x01(\x0b\x32\x13.meshtastic.GeoChatH\x00\x12\x10\n\x06\x64\x65tail\x18\x07 \x01(\x0cH\x00\x42\x11\n\x0fpayload_variant\"\\\n\x07GeoChat\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x0f\n\x02to\x18\x02 \x01(\tH\x00\x88\x01\x01\x12\x18\n\x0bto_callsign\x18\x03 \x01(\tH\x01\x88\x01\x01\x42\x05\n\x03_toB\x0e\n\x0c_to_callsign\"M\n\x05Group\x12$\n\x04role\x18\x01 \x01(\x0e\x32\x16.meshtastic.MemberRole\x12\x1e\n\x04team\x18\x02 \x01(\x0e\x32\x10.meshtastic.Team\"\x19\n\x06Status\x12\x0f\n\x07\x62\x61ttery\x18\x01 \x01(\r\"4\n\x07\x43ontact\x12\x10\n\x08\x63\x61llsign\x18\x01 \x01(\t\x12\x17\n\x0f\x64\x65vice_callsign\x18\x02 \x01(\t\"_\n\x03PLI\x12\x12\n\nlatitude_i\x18\x01 \x01(\x0f\x12\x13\n\x0blongitude_i\x18\x02 \x01(\x0f\x12\x10\n\x08\x61ltitude\x18\x03 \x01(\x05\x12\r\n\x05speed\x18\x04 \x01(\r\x12\x0e\n\x06\x63ourse\x18\x05 \x01(\r*\xc0\x01\n\x04Team\x12\x14\n\x10Unspecifed_Color\x10\x00\x12\t\n\x05White\x10\x01\x12\n\n\x06Yellow\x10\x02\x12\n\n\x06Orange\x10\x03\x12\x0b\n\x07Magenta\x10\x04\x12\x07\n\x03Red\x10\x05\x12\n\n\x06Maroon\x10\x06\x12\n\n\x06Purple\x10\x07\x12\r\n\tDark_Blue\x10\x08\x12\x08\n\x04\x42lue\x10\t\x12\x08\n\x04\x43yan\x10\n\x12\x08\n\x04Teal\x10\x0b\x12\t\n\x05Green\x10\x0c\x12\x0e\n\nDark_Green\x10\r\x12\t\n\x05\x42rown\x10\x0e*\x7f\n\nMemberRole\x12\x0e\n\nUnspecifed\x10\x00\x12\x0e\n\nTeamMember\x10\x01\x12\x0c\n\x08TeamLead\x10\x02\x12\x06\n\x02HQ\x10\x03\x12\n\n\x06Sniper\x10\x04\x12\t\n\x05Medic\x10\x05\x12\x13\n\x0f\x46orwardObserver\x10\x06\x12\x07\n\x03RTO\x10\x07\x12\x06\n\x02K9\x10\x08\x42_\n\x13\x63om.geeksville.meshB\nATAKProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
72
12
 
73
13
  module Meshtastic
74
14
  TAKPacket = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.TAKPacket").msgclass
@@ -1,15 +1,14 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: meshtastic/cannedmessages.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("meshtastic/cannedmessages.proto", :syntax => :proto3) do
8
- add_message "meshtastic.CannedMessageModuleConfig" do
9
- optional :messages, :string, 1
10
- end
11
- end
12
- end
7
+
8
+ descriptor_data = "\n\x1fmeshtastic/cannedmessages.proto\x12\nmeshtastic\"-\n\x19\x43\x61nnedMessageModuleConfig\x12\x10\n\x08messages\x18\x01 \x01(\tBn\n\x13\x63om.geeksville.meshB\x19\x43\x61nnedMessageConfigProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
13
12
 
14
13
  module Meshtastic
15
14
  CannedMessageModuleConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.CannedMessageModuleConfig").msgclass
@@ -1,35 +1,14 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: meshtastic/channel.proto
3
4
 
4
5
  require 'google/protobuf'
5
6
 
6
- Google::Protobuf::DescriptorPool.generated_pool.build do
7
- add_file("meshtastic/channel.proto", :syntax => :proto3) do
8
- add_message "meshtastic.ChannelSettings" do
9
- optional :channel_num, :uint32, 1
10
- optional :psk, :bytes, 2
11
- optional :name, :string, 3
12
- optional :id, :fixed32, 4
13
- optional :uplink_enabled, :bool, 5
14
- optional :downlink_enabled, :bool, 6
15
- optional :module_settings, :message, 7, "meshtastic.ModuleSettings"
16
- end
17
- add_message "meshtastic.ModuleSettings" do
18
- optional :position_precision, :uint32, 1
19
- optional :is_client_muted, :bool, 2
20
- end
21
- add_message "meshtastic.Channel" do
22
- optional :index, :int32, 1
23
- optional :settings, :message, 2, "meshtastic.ChannelSettings"
24
- optional :role, :enum, 3, "meshtastic.Channel.Role"
25
- end
26
- add_enum "meshtastic.Channel.Role" do
27
- value :DISABLED, 0
28
- value :PRIMARY, 1
29
- value :SECONDARY, 2
30
- end
31
- end
32
- end
7
+
8
+ descriptor_data = "\n\x18meshtastic/channel.proto\x12\nmeshtastic\"\xb8\x01\n\x0f\x43hannelSettings\x12\x17\n\x0b\x63hannel_num\x18\x01 \x01(\rB\x02\x18\x01\x12\x0b\n\x03psk\x18\x02 \x01(\x0c\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\n\n\x02id\x18\x04 \x01(\x07\x12\x16\n\x0euplink_enabled\x18\x05 \x01(\x08\x12\x18\n\x10\x64ownlink_enabled\x18\x06 \x01(\x08\x12\x33\n\x0fmodule_settings\x18\x07 \x01(\x0b\x32\x1a.meshtastic.ModuleSettings\"E\n\x0eModuleSettings\x12\x1a\n\x12position_precision\x18\x01 \x01(\r\x12\x17\n\x0fis_client_muted\x18\x02 \x01(\x08\"\xa1\x01\n\x07\x43hannel\x12\r\n\x05index\x18\x01 \x01(\x05\x12-\n\x08settings\x18\x02 \x01(\x0b\x32\x1b.meshtastic.ChannelSettings\x12&\n\x04role\x18\x03 \x01(\x0e\x32\x18.meshtastic.Channel.Role\"0\n\x04Role\x12\x0c\n\x08\x44ISABLED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02\x42\x62\n\x13\x63om.geeksville.meshB\rChannelProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
9
+
10
+ pool = Google::Protobuf::DescriptorPool.generated_pool
11
+ pool.add_serialized_file(descriptor_data)
33
12
 
34
13
  module Meshtastic
35
14
  ChannelSettings = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ChannelSettings").msgclass
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: meshtastic/clientonly.proto
3
4
 
@@ -6,20 +7,11 @@ require 'google/protobuf'
6
7
  require 'meshtastic/localonly_pb'
7
8
  require 'meshtastic/mesh_pb'
8
9
 
9
- Google::Protobuf::DescriptorPool.generated_pool.build do
10
- add_file("meshtastic/clientonly.proto", :syntax => :proto3) do
11
- add_message "meshtastic.DeviceProfile" do
12
- proto3_optional :long_name, :string, 1
13
- proto3_optional :short_name, :string, 2
14
- proto3_optional :channel_url, :string, 3
15
- proto3_optional :config, :message, 4, "meshtastic.LocalConfig"
16
- proto3_optional :module_config, :message, 5, "meshtastic.LocalModuleConfig"
17
- proto3_optional :fixed_position, :message, 6, "meshtastic.Position"
18
- proto3_optional :ringtone, :string, 7
19
- proto3_optional :canned_messages, :string, 8
20
- end
21
- end
22
- end
10
+
11
+ descriptor_data = "\n\x1bmeshtastic/clientonly.proto\x12\nmeshtastic\x1a\x1ameshtastic/localonly.proto\x1a\x15meshtastic/mesh.proto\"\xa9\x03\n\rDeviceProfile\x12\x16\n\tlong_name\x18\x01 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nshort_name\x18\x02 \x01(\tH\x01\x88\x01\x01\x12\x18\n\x0b\x63hannel_url\x18\x03 \x01(\tH\x02\x88\x01\x01\x12,\n\x06\x63onfig\x18\x04 \x01(\x0b\x32\x17.meshtastic.LocalConfigH\x03\x88\x01\x01\x12\x39\n\rmodule_config\x18\x05 \x01(\x0b\x32\x1d.meshtastic.LocalModuleConfigH\x04\x88\x01\x01\x12\x31\n\x0e\x66ixed_position\x18\x06 \x01(\x0b\x32\x14.meshtastic.PositionH\x05\x88\x01\x01\x12\x15\n\x08ringtone\x18\x07 \x01(\tH\x06\x88\x01\x01\x12\x1c\n\x0f\x63\x61nned_messages\x18\x08 \x01(\tH\x07\x88\x01\x01\x42\x0c\n\n_long_nameB\r\n\x0b_short_nameB\x0e\n\x0c_channel_urlB\t\n\x07_configB\x10\n\x0e_module_configB\x11\n\x0f_fixed_positionB\x0b\n\t_ringtoneB\x12\n\x10_canned_messagesBe\n\x13\x63om.geeksville.meshB\x10\x43lientOnlyProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
12
+
13
+ pool = Google::Protobuf::DescriptorPool.generated_pool
14
+ pool.add_serialized_file(descriptor_data)
23
15
 
24
16
  module Meshtastic
25
17
  DeviceProfile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.DeviceProfile").msgclass
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # Generated by the protocol buffer compiler. DO NOT EDIT!
2
3
  # source: meshtastic/config.proto
3
4
 
@@ -5,253 +6,11 @@ require 'google/protobuf'
5
6
 
6
7
  require 'meshtastic/device_ui_pb'
7
8
 
8
- Google::Protobuf::DescriptorPool.generated_pool.build do
9
- add_file("meshtastic/config.proto", :syntax => :proto3) do
10
- add_message "meshtastic.Config" do
11
- oneof :payload_variant do
12
- optional :device, :message, 1, "meshtastic.Config.DeviceConfig"
13
- optional :position, :message, 2, "meshtastic.Config.PositionConfig"
14
- optional :power, :message, 3, "meshtastic.Config.PowerConfig"
15
- optional :network, :message, 4, "meshtastic.Config.NetworkConfig"
16
- optional :display, :message, 5, "meshtastic.Config.DisplayConfig"
17
- optional :lora, :message, 6, "meshtastic.Config.LoRaConfig"
18
- optional :bluetooth, :message, 7, "meshtastic.Config.BluetoothConfig"
19
- optional :security, :message, 8, "meshtastic.Config.SecurityConfig"
20
- optional :sessionkey, :message, 9, "meshtastic.Config.SessionkeyConfig"
21
- optional :device_ui, :message, 10, "meshtastic.DeviceUIConfig"
22
- end
23
- end
24
- add_message "meshtastic.Config.DeviceConfig" do
25
- optional :role, :enum, 1, "meshtastic.Config.DeviceConfig.Role"
26
- optional :serial_enabled, :bool, 2
27
- optional :button_gpio, :uint32, 4
28
- optional :buzzer_gpio, :uint32, 5
29
- optional :rebroadcast_mode, :enum, 6, "meshtastic.Config.DeviceConfig.RebroadcastMode"
30
- optional :node_info_broadcast_secs, :uint32, 7
31
- optional :double_tap_as_button_press, :bool, 8
32
- optional :is_managed, :bool, 9
33
- optional :disable_triple_click, :bool, 10
34
- optional :tzdef, :string, 11
35
- optional :led_heartbeat_disabled, :bool, 12
36
- end
37
- add_enum "meshtastic.Config.DeviceConfig.Role" do
38
- value :CLIENT, 0
39
- value :CLIENT_MUTE, 1
40
- value :ROUTER, 2
41
- value :ROUTER_CLIENT, 3
42
- value :REPEATER, 4
43
- value :TRACKER, 5
44
- value :SENSOR, 6
45
- value :TAK, 7
46
- value :CLIENT_HIDDEN, 8
47
- value :LOST_AND_FOUND, 9
48
- value :TAK_TRACKER, 10
49
- value :ROUTER_LATE, 11
50
- end
51
- add_enum "meshtastic.Config.DeviceConfig.RebroadcastMode" do
52
- value :ALL, 0
53
- value :ALL_SKIP_DECODING, 1
54
- value :LOCAL_ONLY, 2
55
- value :KNOWN_ONLY, 3
56
- value :NONE, 4
57
- value :CORE_PORTNUMS_ONLY, 5
58
- end
59
- add_message "meshtastic.Config.PositionConfig" do
60
- optional :position_broadcast_secs, :uint32, 1
61
- optional :position_broadcast_smart_enabled, :bool, 2
62
- optional :fixed_position, :bool, 3
63
- optional :gps_enabled, :bool, 4
64
- optional :gps_update_interval, :uint32, 5
65
- optional :gps_attempt_time, :uint32, 6
66
- optional :position_flags, :uint32, 7
67
- optional :rx_gpio, :uint32, 8
68
- optional :tx_gpio, :uint32, 9
69
- optional :broadcast_smart_minimum_distance, :uint32, 10
70
- optional :broadcast_smart_minimum_interval_secs, :uint32, 11
71
- optional :gps_en_gpio, :uint32, 12
72
- optional :gps_mode, :enum, 13, "meshtastic.Config.PositionConfig.GpsMode"
73
- end
74
- add_enum "meshtastic.Config.PositionConfig.PositionFlags" do
75
- value :UNSET, 0
76
- value :ALTITUDE, 1
77
- value :ALTITUDE_MSL, 2
78
- value :GEOIDAL_SEPARATION, 4
79
- value :DOP, 8
80
- value :HVDOP, 16
81
- value :SATINVIEW, 32
82
- value :SEQ_NO, 64
83
- value :TIMESTAMP, 128
84
- value :HEADING, 256
85
- value :SPEED, 512
86
- end
87
- add_enum "meshtastic.Config.PositionConfig.GpsMode" do
88
- value :DISABLED, 0
89
- value :ENABLED, 1
90
- value :NOT_PRESENT, 2
91
- end
92
- add_message "meshtastic.Config.PowerConfig" do
93
- optional :is_power_saving, :bool, 1
94
- optional :on_battery_shutdown_after_secs, :uint32, 2
95
- optional :adc_multiplier_override, :float, 3
96
- optional :wait_bluetooth_secs, :uint32, 4
97
- optional :sds_secs, :uint32, 6
98
- optional :ls_secs, :uint32, 7
99
- optional :min_wake_secs, :uint32, 8
100
- optional :device_battery_ina_address, :uint32, 9
101
- optional :powermon_enables, :uint64, 32
102
- end
103
- add_message "meshtastic.Config.NetworkConfig" do
104
- optional :wifi_enabled, :bool, 1
105
- optional :wifi_ssid, :string, 3
106
- optional :wifi_psk, :string, 4
107
- optional :ntp_server, :string, 5
108
- optional :eth_enabled, :bool, 6
109
- optional :address_mode, :enum, 7, "meshtastic.Config.NetworkConfig.AddressMode"
110
- optional :ipv4_config, :message, 8, "meshtastic.Config.NetworkConfig.IpV4Config"
111
- optional :rsyslog_server, :string, 9
112
- optional :enabled_protocols, :uint32, 10
113
- end
114
- add_message "meshtastic.Config.NetworkConfig.IpV4Config" do
115
- optional :ip, :fixed32, 1
116
- optional :gateway, :fixed32, 2
117
- optional :subnet, :fixed32, 3
118
- optional :dns, :fixed32, 4
119
- end
120
- add_enum "meshtastic.Config.NetworkConfig.AddressMode" do
121
- value :DHCP, 0
122
- value :STATIC, 1
123
- end
124
- add_enum "meshtastic.Config.NetworkConfig.ProtocolFlags" do
125
- value :NO_BROADCAST, 0
126
- value :UDP_BROADCAST, 1
127
- end
128
- add_message "meshtastic.Config.DisplayConfig" do
129
- optional :screen_on_secs, :uint32, 1
130
- optional :gps_format, :enum, 2, "meshtastic.Config.DisplayConfig.GpsCoordinateFormat"
131
- optional :auto_screen_carousel_secs, :uint32, 3
132
- optional :compass_north_top, :bool, 4
133
- optional :flip_screen, :bool, 5
134
- optional :units, :enum, 6, "meshtastic.Config.DisplayConfig.DisplayUnits"
135
- optional :oled, :enum, 7, "meshtastic.Config.DisplayConfig.OledType"
136
- optional :displaymode, :enum, 8, "meshtastic.Config.DisplayConfig.DisplayMode"
137
- optional :heading_bold, :bool, 9
138
- optional :wake_on_tap_or_motion, :bool, 10
139
- optional :compass_orientation, :enum, 11, "meshtastic.Config.DisplayConfig.CompassOrientation"
140
- optional :use_12h_clock, :bool, 12
141
- end
142
- add_enum "meshtastic.Config.DisplayConfig.GpsCoordinateFormat" do
143
- value :DEC, 0
144
- value :DMS, 1
145
- value :UTM, 2
146
- value :MGRS, 3
147
- value :OLC, 4
148
- value :OSGR, 5
149
- end
150
- add_enum "meshtastic.Config.DisplayConfig.DisplayUnits" do
151
- value :METRIC, 0
152
- value :IMPERIAL, 1
153
- end
154
- add_enum "meshtastic.Config.DisplayConfig.OledType" do
155
- value :OLED_AUTO, 0
156
- value :OLED_SSD1306, 1
157
- value :OLED_SH1106, 2
158
- value :OLED_SH1107, 3
159
- value :OLED_SH1107_128_64, 4
160
- end
161
- add_enum "meshtastic.Config.DisplayConfig.DisplayMode" do
162
- value :DEFAULT, 0
163
- value :TWOCOLOR, 1
164
- value :INVERTED, 2
165
- value :COLOR, 3
166
- end
167
- add_enum "meshtastic.Config.DisplayConfig.CompassOrientation" do
168
- value :DEGREES_0, 0
169
- value :DEGREES_90, 1
170
- value :DEGREES_180, 2
171
- value :DEGREES_270, 3
172
- value :DEGREES_0_INVERTED, 4
173
- value :DEGREES_90_INVERTED, 5
174
- value :DEGREES_180_INVERTED, 6
175
- value :DEGREES_270_INVERTED, 7
176
- end
177
- add_message "meshtastic.Config.LoRaConfig" do
178
- optional :use_preset, :bool, 1
179
- optional :modem_preset, :enum, 2, "meshtastic.Config.LoRaConfig.ModemPreset"
180
- optional :bandwidth, :uint32, 3
181
- optional :spread_factor, :uint32, 4
182
- optional :coding_rate, :uint32, 5
183
- optional :frequency_offset, :float, 6
184
- optional :region, :enum, 7, "meshtastic.Config.LoRaConfig.RegionCode"
185
- optional :hop_limit, :uint32, 8
186
- optional :tx_enabled, :bool, 9
187
- optional :tx_power, :int32, 10
188
- optional :channel_num, :uint32, 11
189
- optional :override_duty_cycle, :bool, 12
190
- optional :sx126x_rx_boosted_gain, :bool, 13
191
- optional :override_frequency, :float, 14
192
- optional :pa_fan_disabled, :bool, 15
193
- repeated :ignore_incoming, :uint32, 103
194
- optional :ignore_mqtt, :bool, 104
195
- optional :config_ok_to_mqtt, :bool, 105
196
- end
197
- add_enum "meshtastic.Config.LoRaConfig.RegionCode" do
198
- value :UNSET, 0
199
- value :US, 1
200
- value :EU_433, 2
201
- value :EU_868, 3
202
- value :CN, 4
203
- value :JP, 5
204
- value :ANZ, 6
205
- value :KR, 7
206
- value :TW, 8
207
- value :RU, 9
208
- value :IN, 10
209
- value :NZ_865, 11
210
- value :TH, 12
211
- value :LORA_24, 13
212
- value :UA_433, 14
213
- value :UA_868, 15
214
- value :MY_433, 16
215
- value :MY_919, 17
216
- value :SG_923, 18
217
- value :PH_433, 19
218
- value :PH_868, 20
219
- value :PH_915, 21
220
- end
221
- add_enum "meshtastic.Config.LoRaConfig.ModemPreset" do
222
- value :LONG_FAST, 0
223
- value :LONG_SLOW, 1
224
- value :VERY_LONG_SLOW, 2
225
- value :MEDIUM_SLOW, 3
226
- value :MEDIUM_FAST, 4
227
- value :SHORT_SLOW, 5
228
- value :SHORT_FAST, 6
229
- value :LONG_MODERATE, 7
230
- value :SHORT_TURBO, 8
231
- end
232
- add_message "meshtastic.Config.BluetoothConfig" do
233
- optional :enabled, :bool, 1
234
- optional :mode, :enum, 2, "meshtastic.Config.BluetoothConfig.PairingMode"
235
- optional :fixed_pin, :uint32, 3
236
- end
237
- add_enum "meshtastic.Config.BluetoothConfig.PairingMode" do
238
- value :RANDOM_PIN, 0
239
- value :FIXED_PIN, 1
240
- value :NO_PIN, 2
241
- end
242
- add_message "meshtastic.Config.SecurityConfig" do
243
- optional :public_key, :bytes, 1
244
- optional :private_key, :bytes, 2
245
- repeated :admin_key, :bytes, 3
246
- optional :is_managed, :bool, 4
247
- optional :serial_enabled, :bool, 5
248
- optional :debug_log_api_enabled, :bool, 6
249
- optional :admin_channel_enabled, :bool, 8
250
- end
251
- add_message "meshtastic.Config.SessionkeyConfig" do
252
- end
253
- end
254
- end
9
+
10
+ descriptor_data = "\n\x17meshtastic/config.proto\x12\nmeshtastic\x1a\x1ameshtastic/device_ui.proto\"\xec&\n\x06\x43onfig\x12\x31\n\x06\x64\x65vice\x18\x01 \x01(\x0b\x32\x1f.meshtastic.Config.DeviceConfigH\x00\x12\x35\n\x08position\x18\x02 \x01(\x0b\x32!.meshtastic.Config.PositionConfigH\x00\x12/\n\x05power\x18\x03 \x01(\x0b\x32\x1e.meshtastic.Config.PowerConfigH\x00\x12\x33\n\x07network\x18\x04 \x01(\x0b\x32 .meshtastic.Config.NetworkConfigH\x00\x12\x33\n\x07\x64isplay\x18\x05 \x01(\x0b\x32 .meshtastic.Config.DisplayConfigH\x00\x12-\n\x04lora\x18\x06 \x01(\x0b\x32\x1d.meshtastic.Config.LoRaConfigH\x00\x12\x37\n\tbluetooth\x18\x07 \x01(\x0b\x32\".meshtastic.Config.BluetoothConfigH\x00\x12\x35\n\x08security\x18\x08 \x01(\x0b\x32!.meshtastic.Config.SecurityConfigH\x00\x12\x39\n\nsessionkey\x18\t \x01(\x0b\x32#.meshtastic.Config.SessionkeyConfigH\x00\x12/\n\tdevice_ui\x18\n \x01(\x0b\x32\x1a.meshtastic.DeviceUIConfigH\x00\x1a\xb5\x05\n\x0c\x44\x65viceConfig\x12\x32\n\x04role\x18\x01 \x01(\x0e\x32$.meshtastic.Config.DeviceConfig.Role\x12\x1a\n\x0eserial_enabled\x18\x02 \x01(\x08\x42\x02\x18\x01\x12\x13\n\x0b\x62utton_gpio\x18\x04 \x01(\r\x12\x13\n\x0b\x62uzzer_gpio\x18\x05 \x01(\r\x12I\n\x10rebroadcast_mode\x18\x06 \x01(\x0e\x32/.meshtastic.Config.DeviceConfig.RebroadcastMode\x12 \n\x18node_info_broadcast_secs\x18\x07 \x01(\r\x12\"\n\x1a\x64ouble_tap_as_button_press\x18\x08 \x01(\x08\x12\x16\n\nis_managed\x18\t \x01(\x08\x42\x02\x18\x01\x12\x1c\n\x14\x64isable_triple_click\x18\n \x01(\x08\x12\r\n\x05tzdef\x18\x0b \x01(\t\x12\x1e\n\x16led_heartbeat_disabled\x18\x0c \x01(\x08\"\xbf\x01\n\x04Role\x12\n\n\x06\x43LIENT\x10\x00\x12\x0f\n\x0b\x43LIENT_MUTE\x10\x01\x12\n\n\x06ROUTER\x10\x02\x12\x15\n\rROUTER_CLIENT\x10\x03\x1a\x02\x08\x01\x12\x0c\n\x08REPEATER\x10\x04\x12\x0b\n\x07TRACKER\x10\x05\x12\n\n\x06SENSOR\x10\x06\x12\x07\n\x03TAK\x10\x07\x12\x11\n\rCLIENT_HIDDEN\x10\x08\x12\x12\n\x0eLOST_AND_FOUND\x10\t\x12\x0f\n\x0bTAK_TRACKER\x10\n\x12\x0f\n\x0bROUTER_LATE\x10\x0b\"s\n\x0fRebroadcastMode\x12\x07\n\x03\x41LL\x10\x00\x12\x15\n\x11\x41LL_SKIP_DECODING\x10\x01\x12\x0e\n\nLOCAL_ONLY\x10\x02\x12\x0e\n\nKNOWN_ONLY\x10\x03\x12\x08\n\x04NONE\x10\x04\x12\x16\n\x12\x43ORE_PORTNUMS_ONLY\x10\x05\x1a\x91\x05\n\x0ePositionConfig\x12\x1f\n\x17position_broadcast_secs\x18\x01 \x01(\r\x12(\n position_broadcast_smart_enabled\x18\x02 \x01(\x08\x12\x16\n\x0e\x66ixed_position\x18\x03 \x01(\x08\x12\x17\n\x0bgps_enabled\x18\x04 \x01(\x08\x42\x02\x18\x01\x12\x1b\n\x13gps_update_interval\x18\x05 \x01(\r\x12\x1c\n\x10gps_attempt_time\x18\x06 \x01(\rB\x02\x18\x01\x12\x16\n\x0eposition_flags\x18\x07 \x01(\r\x12\x0f\n\x07rx_gpio\x18\x08 \x01(\r\x12\x0f\n\x07tx_gpio\x18\t \x01(\r\x12(\n broadcast_smart_minimum_distance\x18\n \x01(\r\x12-\n%broadcast_smart_minimum_interval_secs\x18\x0b \x01(\r\x12\x13\n\x0bgps_en_gpio\x18\x0c \x01(\r\x12;\n\x08gps_mode\x18\r \x01(\x0e\x32).meshtastic.Config.PositionConfig.GpsMode\"\xab\x01\n\rPositionFlags\x12\t\n\x05UNSET\x10\x00\x12\x0c\n\x08\x41LTITUDE\x10\x01\x12\x10\n\x0c\x41LTITUDE_MSL\x10\x02\x12\x16\n\x12GEOIDAL_SEPARATION\x10\x04\x12\x07\n\x03\x44OP\x10\x08\x12\t\n\x05HVDOP\x10\x10\x12\r\n\tSATINVIEW\x10 \x12\n\n\x06SEQ_NO\x10@\x12\x0e\n\tTIMESTAMP\x10\x80\x01\x12\x0c\n\x07HEADING\x10\x80\x02\x12\n\n\x05SPEED\x10\x80\x04\"5\n\x07GpsMode\x12\x0c\n\x08\x44ISABLED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0f\n\x0bNOT_PRESENT\x10\x02\x1a\x84\x02\n\x0bPowerConfig\x12\x17\n\x0fis_power_saving\x18\x01 \x01(\x08\x12&\n\x1eon_battery_shutdown_after_secs\x18\x02 \x01(\r\x12\x1f\n\x17\x61\x64\x63_multiplier_override\x18\x03 \x01(\x02\x12\x1b\n\x13wait_bluetooth_secs\x18\x04 \x01(\r\x12\x10\n\x08sds_secs\x18\x06 \x01(\r\x12\x0f\n\x07ls_secs\x18\x07 \x01(\r\x12\x15\n\rmin_wake_secs\x18\x08 \x01(\r\x12\"\n\x1a\x64\x65vice_battery_ina_address\x18\t \x01(\r\x12\x18\n\x10powermon_enables\x18 \x01(\x04\x1a\xcf\x03\n\rNetworkConfig\x12\x14\n\x0cwifi_enabled\x18\x01 \x01(\x08\x12\x11\n\twifi_ssid\x18\x03 \x01(\t\x12\x10\n\x08wifi_psk\x18\x04 \x01(\t\x12\x12\n\nntp_server\x18\x05 \x01(\t\x12\x13\n\x0b\x65th_enabled\x18\x06 \x01(\x08\x12\x42\n\x0c\x61\x64\x64ress_mode\x18\x07 \x01(\x0e\x32,.meshtastic.Config.NetworkConfig.AddressMode\x12@\n\x0bipv4_config\x18\x08 \x01(\x0b\x32+.meshtastic.Config.NetworkConfig.IpV4Config\x12\x16\n\x0ersyslog_server\x18\t \x01(\t\x12\x19\n\x11\x65nabled_protocols\x18\n \x01(\r\x1a\x46\n\nIpV4Config\x12\n\n\x02ip\x18\x01 \x01(\x07\x12\x0f\n\x07gateway\x18\x02 \x01(\x07\x12\x0e\n\x06subnet\x18\x03 \x01(\x07\x12\x0b\n\x03\x64ns\x18\x04 \x01(\x07\"#\n\x0b\x41\x64\x64ressMode\x12\x08\n\x04\x44HCP\x10\x00\x12\n\n\x06STATIC\x10\x01\"4\n\rProtocolFlags\x12\x10\n\x0cNO_BROADCAST\x10\x00\x12\x11\n\rUDP_BROADCAST\x10\x01\x1a\xfc\x07\n\rDisplayConfig\x12\x16\n\x0escreen_on_secs\x18\x01 \x01(\r\x12H\n\ngps_format\x18\x02 \x01(\x0e\x32\x34.meshtastic.Config.DisplayConfig.GpsCoordinateFormat\x12!\n\x19\x61uto_screen_carousel_secs\x18\x03 \x01(\r\x12\x19\n\x11\x63ompass_north_top\x18\x04 \x01(\x08\x12\x13\n\x0b\x66lip_screen\x18\x05 \x01(\x08\x12<\n\x05units\x18\x06 \x01(\x0e\x32-.meshtastic.Config.DisplayConfig.DisplayUnits\x12\x37\n\x04oled\x18\x07 \x01(\x0e\x32).meshtastic.Config.DisplayConfig.OledType\x12\x41\n\x0b\x64isplaymode\x18\x08 \x01(\x0e\x32,.meshtastic.Config.DisplayConfig.DisplayMode\x12\x14\n\x0cheading_bold\x18\t \x01(\x08\x12\x1d\n\x15wake_on_tap_or_motion\x18\n \x01(\x08\x12P\n\x13\x63ompass_orientation\x18\x0b \x01(\x0e\x32\x33.meshtastic.Config.DisplayConfig.CompassOrientation\x12\x15\n\ruse_12h_clock\x18\x0c \x01(\x08\"M\n\x13GpsCoordinateFormat\x12\x07\n\x03\x44\x45\x43\x10\x00\x12\x07\n\x03\x44MS\x10\x01\x12\x07\n\x03UTM\x10\x02\x12\x08\n\x04MGRS\x10\x03\x12\x07\n\x03OLC\x10\x04\x12\x08\n\x04OSGR\x10\x05\"(\n\x0c\x44isplayUnits\x12\n\n\x06METRIC\x10\x00\x12\x0c\n\x08IMPERIAL\x10\x01\"e\n\x08OledType\x12\r\n\tOLED_AUTO\x10\x00\x12\x10\n\x0cOLED_SSD1306\x10\x01\x12\x0f\n\x0bOLED_SH1106\x10\x02\x12\x0f\n\x0bOLED_SH1107\x10\x03\x12\x16\n\x12OLED_SH1107_128_64\x10\x04\"A\n\x0b\x44isplayMode\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x00\x12\x0c\n\x08TWOCOLOR\x10\x01\x12\x0c\n\x08INVERTED\x10\x02\x12\t\n\x05\x43OLOR\x10\x03\"\xba\x01\n\x12\x43ompassOrientation\x12\r\n\tDEGREES_0\x10\x00\x12\x0e\n\nDEGREES_90\x10\x01\x12\x0f\n\x0b\x44\x45GREES_180\x10\x02\x12\x0f\n\x0b\x44\x45GREES_270\x10\x03\x12\x16\n\x12\x44\x45GREES_0_INVERTED\x10\x04\x12\x17\n\x13\x44\x45GREES_90_INVERTED\x10\x05\x12\x18\n\x14\x44\x45GREES_180_INVERTED\x10\x06\x12\x18\n\x14\x44\x45GREES_270_INVERTED\x10\x07\x1a\x9d\x07\n\nLoRaConfig\x12\x12\n\nuse_preset\x18\x01 \x01(\x08\x12?\n\x0cmodem_preset\x18\x02 \x01(\x0e\x32).meshtastic.Config.LoRaConfig.ModemPreset\x12\x11\n\tbandwidth\x18\x03 \x01(\r\x12\x15\n\rspread_factor\x18\x04 \x01(\r\x12\x13\n\x0b\x63oding_rate\x18\x05 \x01(\r\x12\x18\n\x10\x66requency_offset\x18\x06 \x01(\x02\x12\x38\n\x06region\x18\x07 \x01(\x0e\x32(.meshtastic.Config.LoRaConfig.RegionCode\x12\x11\n\thop_limit\x18\x08 \x01(\r\x12\x12\n\ntx_enabled\x18\t \x01(\x08\x12\x10\n\x08tx_power\x18\n \x01(\x05\x12\x13\n\x0b\x63hannel_num\x18\x0b \x01(\r\x12\x1b\n\x13override_duty_cycle\x18\x0c \x01(\x08\x12\x1e\n\x16sx126x_rx_boosted_gain\x18\r \x01(\x08\x12\x1a\n\x12override_frequency\x18\x0e \x01(\x02\x12\x17\n\x0fpa_fan_disabled\x18\x0f \x01(\x08\x12\x17\n\x0fignore_incoming\x18g \x03(\r\x12\x13\n\x0bignore_mqtt\x18h \x01(\x08\x12\x19\n\x11\x63onfig_ok_to_mqtt\x18i \x01(\x08\"\xf1\x01\n\nRegionCode\x12\t\n\x05UNSET\x10\x00\x12\x06\n\x02US\x10\x01\x12\n\n\x06\x45U_433\x10\x02\x12\n\n\x06\x45U_868\x10\x03\x12\x06\n\x02\x43N\x10\x04\x12\x06\n\x02JP\x10\x05\x12\x07\n\x03\x41NZ\x10\x06\x12\x06\n\x02KR\x10\x07\x12\x06\n\x02TW\x10\x08\x12\x06\n\x02RU\x10\t\x12\x06\n\x02IN\x10\n\x12\n\n\x06NZ_865\x10\x0b\x12\x06\n\x02TH\x10\x0c\x12\x0b\n\x07LORA_24\x10\r\x12\n\n\x06UA_433\x10\x0e\x12\n\n\x06UA_868\x10\x0f\x12\n\n\x06MY_433\x10\x10\x12\n\n\x06MY_919\x10\x11\x12\n\n\x06SG_923\x10\x12\x12\n\n\x06PH_433\x10\x13\x12\n\n\x06PH_868\x10\x14\x12\n\n\x06PH_915\x10\x15\"\xa9\x01\n\x0bModemPreset\x12\r\n\tLONG_FAST\x10\x00\x12\r\n\tLONG_SLOW\x10\x01\x12\x16\n\x0eVERY_LONG_SLOW\x10\x02\x1a\x02\x08\x01\x12\x0f\n\x0bMEDIUM_SLOW\x10\x03\x12\x0f\n\x0bMEDIUM_FAST\x10\x04\x12\x0e\n\nSHORT_SLOW\x10\x05\x12\x0e\n\nSHORT_FAST\x10\x06\x12\x11\n\rLONG_MODERATE\x10\x07\x12\x0f\n\x0bSHORT_TURBO\x10\x08\x1a\xad\x01\n\x0f\x42luetoothConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12<\n\x04mode\x18\x02 \x01(\x0e\x32..meshtastic.Config.BluetoothConfig.PairingMode\x12\x11\n\tfixed_pin\x18\x03 \x01(\r\"8\n\x0bPairingMode\x12\x0e\n\nRANDOM_PIN\x10\x00\x12\r\n\tFIXED_PIN\x10\x01\x12\n\n\x06NO_PIN\x10\x02\x1a\xb6\x01\n\x0eSecurityConfig\x12\x12\n\npublic_key\x18\x01 \x01(\x0c\x12\x13\n\x0bprivate_key\x18\x02 \x01(\x0c\x12\x11\n\tadmin_key\x18\x03 \x03(\x0c\x12\x12\n\nis_managed\x18\x04 \x01(\x08\x12\x16\n\x0eserial_enabled\x18\x05 \x01(\x08\x12\x1d\n\x15\x64\x65\x62ug_log_api_enabled\x18\x06 \x01(\x08\x12\x1d\n\x15\x61\x64min_channel_enabled\x18\x08 \x01(\x08\x1a\x12\n\x10SessionkeyConfigB\x11\n\x0fpayload_variantBa\n\x13\x63om.geeksville.meshB\x0c\x43onfigProtosZ\"github.com/meshtastic/go/generated\xaa\x02\x14Meshtastic.Protobufs\xba\x02\x00\x62\x06proto3"
11
+
12
+ pool = Google::Protobuf::DescriptorPool.generated_pool
13
+ pool.add_serialized_file(descriptor_data)
255
14
 
256
15
  module Meshtastic
257
16
  Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config").msgclass