meshtastic 0.0.80 → 0.0.82

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: be74261bb536edead4e51a14ef15ff7c3d1a5d5462efd847bed373bb413e4952
4
- data.tar.gz: 02e60aa4e99025649b4a1c49b3e1717375f05c73776ce2e03d0fd16e68461354
3
+ metadata.gz: 95ca8e843d186a6b89ed3b64463001b0da0a651cf734675dfa28806aaaa03d73
4
+ data.tar.gz: e1f5e58b746da496c31a231f6bca9cca8af12d16141edabbcb17b0e2243b868a
5
5
  SHA512:
6
- metadata.gz: b850a6d1de524ba723f7296435fd3eb296275b248fdf1a87275623e29b96a50bea7e3d8470f11a7044ad3b01fd6bb5e4d2f6d22b849baf30cd2d6c818b2796a2
7
- data.tar.gz: da30ba2ebb4924c4ed093169be593e95a04ae026bdaf755602444f533effcefb17190533c11fd0cb5f51185af8e001d46792e1b4131f26798b9724b46c526173
6
+ metadata.gz: 8a96c4194695a35fd07c73727e54bf66f20eccf050c23bbb78185502c73d0eda89b5215ffc1072bcf4268b6f9a150b97f3d9a9c6be90b95d38c2e24bc3743c4a
7
+ data.tar.gz: d0cfa239a2cac48d813bcc98b6ac40ad63f5ecdad2526a507d57ed94224d605b8d8834970f5123aa1a1d88045031c81a5898ecf1a8bbf13284715c4d5816ab72
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.5
1
+ 3.4.1
data/Gemfile CHANGED
@@ -4,20 +4,15 @@ LANG = 'en_US.UTF-8'
4
4
  LC_ALL = 'en_US.UTF-8'
5
5
  source 'https://rubygems.org'
6
6
 
7
- # Specify your gem's dependencies in pwn.gemspec
8
7
  gemspec
9
8
 
10
- # *** FYI:
11
- # In some circumstances custom flags are passed to gems in order
12
- # to build appropriately. Defer to ./reinstall_pwn_gemset.sh
13
- # to review these custom flags (e.g. pg, serialport, etc).
14
- gem 'bundler', '>=2.6.2'
9
+ gem 'bundler', '>=2.6.3'
15
10
  gem 'bundle-audit', '0.1.0'
16
11
  gem 'geocoder', '1.8.5'
17
12
  gem 'google-protobuf', '3.21.12'
18
13
  gem 'mqtt', '0.6.0'
19
14
  gem 'rake', '13.2.1'
20
- gem 'rdoc', '6.10.0'
15
+ gem 'rdoc', '6.11.0'
21
16
  gem 'rspec', '3.13.0'
22
17
  gem 'rubocop', '>=1.70.0'
23
18
  gem 'rubocop-rake', '>=0.6.0'
@@ -8,10 +8,12 @@ require 'meshtastic/config_pb'
8
8
  require 'meshtastic/connection_status_pb'
9
9
  require 'meshtastic/mesh_pb'
10
10
  require 'meshtastic/module_config_pb'
11
+ require 'meshtastic/device_ui_pb'
11
12
 
12
13
  Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  add_file("meshtastic/admin.proto", :syntax => :proto3) do
14
15
  add_message "meshtastic.AdminMessage" do
16
+ optional :session_passkey, :bytes, 101
15
17
  oneof :payload_variant do
16
18
  optional :get_channel_request, :uint32, 1
17
19
  optional :get_channel_response, :message, 2, "meshtastic.Channel"
@@ -34,6 +36,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
34
36
  optional :get_node_remote_hardware_pins_response, :message, 20, "meshtastic.NodeRemoteHardwarePinsResponse"
35
37
  optional :enter_dfu_mode_request, :bool, 21
36
38
  optional :delete_file_request, :string, 22
39
+ optional :set_scale, :uint32, 23
37
40
  optional :set_owner, :message, 32, "meshtastic.User"
38
41
  optional :set_channel, :message, 33, "meshtastic.Channel"
39
42
  optional :set_config, :message, 34, "meshtastic.Config"
@@ -45,13 +48,20 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
45
48
  optional :remove_favorite_node, :uint32, 40
46
49
  optional :set_fixed_position, :message, 41, "meshtastic.Position"
47
50
  optional :remove_fixed_position, :bool, 42
51
+ optional :set_time_only, :fixed32, 43
52
+ optional :get_ui_config_request, :bool, 44
53
+ optional :get_ui_config_response, :message, 45, "meshtastic.DeviceUIConfig"
54
+ optional :store_ui_config, :message, 46, "meshtastic.DeviceUIConfig"
55
+ optional :set_ignored_node, :uint32, 47
56
+ optional :remove_ignored_node, :uint32, 48
48
57
  optional :begin_edit_settings, :bool, 64
49
58
  optional :commit_edit_settings, :bool, 65
59
+ optional :factory_reset_device, :int32, 94
50
60
  optional :reboot_ota_seconds, :int32, 95
51
61
  optional :exit_simulator, :bool, 96
52
62
  optional :reboot_seconds, :int32, 97
53
63
  optional :shutdown_seconds, :int32, 98
54
- optional :factory_reset, :int32, 99
64
+ optional :factory_reset_config, :int32, 99
55
65
  optional :nodedb_reset, :int32, 100
56
66
  end
57
67
  end
@@ -63,6 +73,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
63
73
  value :DISPLAY_CONFIG, 4
64
74
  value :LORA_CONFIG, 5
65
75
  value :BLUETOOTH_CONFIG, 6
76
+ value :SECURITY_CONFIG, 7
77
+ value :SESSIONKEY_CONFIG, 8
78
+ value :DEVICEUI_CONFIG, 9
66
79
  end
67
80
  add_enum "meshtastic.AdminMessage.ModuleConfigType" do
68
81
  value :MQTT_CONFIG, 0
@@ -13,11 +13,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
13
13
  oneof :payload_variant do
14
14
  optional :pli, :message, 5, "meshtastic.PLI"
15
15
  optional :chat, :message, 6, "meshtastic.GeoChat"
16
+ optional :detail, :bytes, 7
16
17
  end
17
18
  end
18
19
  add_message "meshtastic.GeoChat" do
19
20
  optional :message, :string, 1
20
21
  proto3_optional :to, :string, 2
22
+ proto3_optional :to_callsign, :string, 3
21
23
  end
22
24
  add_message "meshtastic.Group" do
23
25
  optional :role, :enum, 1, "meshtastic.MemberRole"
@@ -16,6 +16,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  end
17
17
  add_message "meshtastic.ModuleSettings" do
18
18
  optional :position_precision, :uint32, 1
19
+ optional :is_client_muted, :bool, 2
19
20
  end
20
21
  add_message "meshtastic.Channel" do
21
22
  optional :index, :int32, 1
@@ -4,6 +4,7 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'meshtastic/localonly_pb'
7
+ require 'meshtastic/mesh_pb'
7
8
 
8
9
  Google::Protobuf::DescriptorPool.generated_pool.build do
9
10
  add_file("meshtastic/clientonly.proto", :syntax => :proto3) do
@@ -13,6 +14,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
13
14
  proto3_optional :channel_url, :string, 3
14
15
  proto3_optional :config, :message, 4, "meshtastic.LocalConfig"
15
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
16
20
  end
17
21
  end
18
22
  end
@@ -3,6 +3,8 @@
3
3
 
4
4
  require 'google/protobuf'
5
5
 
6
+ require 'meshtastic/device_ui_pb'
7
+
6
8
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
9
  add_file("meshtastic/config.proto", :syntax => :proto3) do
8
10
  add_message "meshtastic.Config" do
@@ -14,12 +16,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
14
16
  optional :display, :message, 5, "meshtastic.Config.DisplayConfig"
15
17
  optional :lora, :message, 6, "meshtastic.Config.LoRaConfig"
16
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"
17
22
  end
18
23
  end
19
24
  add_message "meshtastic.Config.DeviceConfig" do
20
25
  optional :role, :enum, 1, "meshtastic.Config.DeviceConfig.Role"
21
26
  optional :serial_enabled, :bool, 2
22
- optional :debug_log_enabled, :bool, 3
23
27
  optional :button_gpio, :uint32, 4
24
28
  optional :buzzer_gpio, :uint32, 5
25
29
  optional :rebroadcast_mode, :enum, 6, "meshtastic.Config.DeviceConfig.RebroadcastMode"
@@ -42,12 +46,15 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
42
46
  value :CLIENT_HIDDEN, 8
43
47
  value :LOST_AND_FOUND, 9
44
48
  value :TAK_TRACKER, 10
49
+ value :ROUTER_LATE, 11
45
50
  end
46
51
  add_enum "meshtastic.Config.DeviceConfig.RebroadcastMode" do
47
52
  value :ALL, 0
48
53
  value :ALL_SKIP_DECODING, 1
49
54
  value :LOCAL_ONLY, 2
50
55
  value :KNOWN_ONLY, 3
56
+ value :NONE, 4
57
+ value :CORE_PORTNUMS_ONLY, 5
51
58
  end
52
59
  add_message "meshtastic.Config.PositionConfig" do
53
60
  optional :position_broadcast_secs, :uint32, 1
@@ -91,6 +98,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
91
98
  optional :ls_secs, :uint32, 7
92
99
  optional :min_wake_secs, :uint32, 8
93
100
  optional :device_battery_ina_address, :uint32, 9
101
+ optional :powermon_enables, :uint64, 32
94
102
  end
95
103
  add_message "meshtastic.Config.NetworkConfig" do
96
104
  optional :wifi_enabled, :bool, 1
@@ -101,6 +109,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
101
109
  optional :address_mode, :enum, 7, "meshtastic.Config.NetworkConfig.AddressMode"
102
110
  optional :ipv4_config, :message, 8, "meshtastic.Config.NetworkConfig.IpV4Config"
103
111
  optional :rsyslog_server, :string, 9
112
+ optional :enabled_protocols, :uint32, 10
104
113
  end
105
114
  add_message "meshtastic.Config.NetworkConfig.IpV4Config" do
106
115
  optional :ip, :fixed32, 1
@@ -112,6 +121,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
112
121
  value :DHCP, 0
113
122
  value :STATIC, 1
114
123
  end
124
+ add_enum "meshtastic.Config.NetworkConfig.ProtocolFlags" do
125
+ value :NO_BROADCAST, 0
126
+ value :UDP_BROADCAST, 1
127
+ end
115
128
  add_message "meshtastic.Config.DisplayConfig" do
116
129
  optional :screen_on_secs, :uint32, 1
117
130
  optional :gps_format, :enum, 2, "meshtastic.Config.DisplayConfig.GpsCoordinateFormat"
@@ -123,6 +136,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
123
136
  optional :displaymode, :enum, 8, "meshtastic.Config.DisplayConfig.DisplayMode"
124
137
  optional :heading_bold, :bool, 9
125
138
  optional :wake_on_tap_or_motion, :bool, 10
139
+ optional :compass_orientation, :enum, 11, "meshtastic.Config.DisplayConfig.CompassOrientation"
126
140
  end
127
141
  add_enum "meshtastic.Config.DisplayConfig.GpsCoordinateFormat" do
128
142
  value :DEC, 0
@@ -148,6 +162,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
148
162
  value :INVERTED, 2
149
163
  value :COLOR, 3
150
164
  end
165
+ add_enum "meshtastic.Config.DisplayConfig.CompassOrientation" do
166
+ value :DEGREES_0, 0
167
+ value :DEGREES_90, 1
168
+ value :DEGREES_180, 2
169
+ value :DEGREES_270, 3
170
+ value :DEGREES_0_INVERTED, 4
171
+ value :DEGREES_90_INVERTED, 5
172
+ value :DEGREES_180_INVERTED, 6
173
+ value :DEGREES_270_INVERTED, 7
174
+ end
151
175
  add_message "meshtastic.Config.LoRaConfig" do
152
176
  optional :use_preset, :bool, 1
153
177
  optional :modem_preset, :enum, 2, "meshtastic.Config.LoRaConfig.ModemPreset"
@@ -163,8 +187,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
163
187
  optional :override_duty_cycle, :bool, 12
164
188
  optional :sx126x_rx_boosted_gain, :bool, 13
165
189
  optional :override_frequency, :float, 14
190
+ optional :pa_fan_disabled, :bool, 15
166
191
  repeated :ignore_incoming, :uint32, 103
167
192
  optional :ignore_mqtt, :bool, 104
193
+ optional :config_ok_to_mqtt, :bool, 105
168
194
  end
169
195
  add_enum "meshtastic.Config.LoRaConfig.RegionCode" do
170
196
  value :UNSET, 0
@@ -186,6 +212,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
186
212
  value :MY_433, 16
187
213
  value :MY_919, 17
188
214
  value :SG_923, 18
215
+ value :PH_433, 19
216
+ value :PH_868, 20
217
+ value :PH_915, 21
189
218
  end
190
219
  add_enum "meshtastic.Config.LoRaConfig.ModemPreset" do
191
220
  value :LONG_FAST, 0
@@ -196,6 +225,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
196
225
  value :SHORT_SLOW, 5
197
226
  value :SHORT_FAST, 6
198
227
  value :LONG_MODERATE, 7
228
+ value :SHORT_TURBO, 8
199
229
  end
200
230
  add_message "meshtastic.Config.BluetoothConfig" do
201
231
  optional :enabled, :bool, 1
@@ -207,6 +237,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
207
237
  value :FIXED_PIN, 1
208
238
  value :NO_PIN, 2
209
239
  end
240
+ add_message "meshtastic.Config.SecurityConfig" do
241
+ optional :public_key, :bytes, 1
242
+ optional :private_key, :bytes, 2
243
+ repeated :admin_key, :bytes, 3
244
+ optional :is_managed, :bool, 4
245
+ optional :serial_enabled, :bool, 5
246
+ optional :debug_log_api_enabled, :bool, 6
247
+ optional :admin_channel_enabled, :bool, 8
248
+ end
249
+ add_message "meshtastic.Config.SessionkeyConfig" do
250
+ end
210
251
  end
211
252
  end
212
253
 
@@ -222,14 +263,18 @@ module Meshtastic
222
263
  Config::NetworkConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.NetworkConfig").msgclass
223
264
  Config::NetworkConfig::IpV4Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.NetworkConfig.IpV4Config").msgclass
224
265
  Config::NetworkConfig::AddressMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.NetworkConfig.AddressMode").enummodule
266
+ Config::NetworkConfig::ProtocolFlags = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.NetworkConfig.ProtocolFlags").enummodule
225
267
  Config::DisplayConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig").msgclass
226
268
  Config::DisplayConfig::GpsCoordinateFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.GpsCoordinateFormat").enummodule
227
269
  Config::DisplayConfig::DisplayUnits = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.DisplayUnits").enummodule
228
270
  Config::DisplayConfig::OledType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.OledType").enummodule
229
271
  Config::DisplayConfig::DisplayMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.DisplayMode").enummodule
272
+ Config::DisplayConfig::CompassOrientation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.DisplayConfig.CompassOrientation").enummodule
230
273
  Config::LoRaConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.LoRaConfig").msgclass
231
274
  Config::LoRaConfig::RegionCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.LoRaConfig.RegionCode").enummodule
232
275
  Config::LoRaConfig::ModemPreset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.LoRaConfig.ModemPreset").enummodule
233
276
  Config::BluetoothConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.BluetoothConfig").msgclass
234
277
  Config::BluetoothConfig::PairingMode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.BluetoothConfig.PairingMode").enummodule
278
+ Config::SecurityConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.SecurityConfig").msgclass
279
+ Config::SessionkeyConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Config.SessionkeyConfig").msgclass
235
280
  end
@@ -4,10 +4,9 @@
4
4
  require 'google/protobuf'
5
5
 
6
6
  require 'meshtastic/channel_pb'
7
- require 'meshtastic/localonly_pb'
8
7
  require 'meshtastic/mesh_pb'
9
- require 'meshtastic/module_config_pb'
10
8
  require 'meshtastic/telemetry_pb'
9
+ require 'meshtastic/config_pb'
11
10
  require 'nanopb_pb'
12
11
 
13
12
  Google::Protobuf::DescriptorPool.generated_pool.build do
@@ -19,17 +18,28 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
18
  optional :time, :fixed32, 4
20
19
  optional :location_source, :enum, 5, "meshtastic.Position.LocSource"
21
20
  end
21
+ add_message "meshtastic.UserLite" do
22
+ optional :macaddr, :bytes, 1
23
+ optional :long_name, :string, 2
24
+ optional :short_name, :string, 3
25
+ optional :hw_model, :enum, 4, "meshtastic.HardwareModel"
26
+ optional :is_licensed, :bool, 5
27
+ optional :role, :enum, 6, "meshtastic.Config.DeviceConfig.Role"
28
+ optional :public_key, :bytes, 7
29
+ end
22
30
  add_message "meshtastic.NodeInfoLite" do
23
31
  optional :num, :uint32, 1
24
- optional :user, :message, 2, "meshtastic.User"
32
+ optional :user, :message, 2, "meshtastic.UserLite"
25
33
  optional :position, :message, 3, "meshtastic.PositionLite"
26
34
  optional :snr, :float, 4
27
35
  optional :last_heard, :fixed32, 5
28
36
  optional :device_metrics, :message, 6, "meshtastic.DeviceMetrics"
29
37
  optional :channel, :uint32, 7
30
38
  optional :via_mqtt, :bool, 8
31
- optional :hops_away, :uint32, 9
39
+ proto3_optional :hops_away, :uint32, 9
32
40
  optional :is_favorite, :bool, 10
41
+ optional :is_ignored, :bool, 11
42
+ optional :next_hop, :uint32, 12
33
43
  end
34
44
  add_message "meshtastic.DeviceState" do
35
45
  optional :my_node, :message, 2, "meshtastic.MyNodeInfo"
@@ -47,29 +57,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
47
57
  repeated :channels, :message, 1, "meshtastic.Channel"
48
58
  optional :version, :uint32, 2
49
59
  end
50
- add_message "meshtastic.OEMStore" do
51
- optional :oem_icon_width, :uint32, 1
52
- optional :oem_icon_height, :uint32, 2
53
- optional :oem_icon_bits, :bytes, 3
54
- optional :oem_font, :enum, 4, "meshtastic.ScreenFonts"
55
- optional :oem_text, :string, 5
56
- optional :oem_aes_key, :bytes, 6
57
- optional :oem_local_config, :message, 7, "meshtastic.LocalConfig"
58
- optional :oem_local_module_config, :message, 8, "meshtastic.LocalModuleConfig"
59
- end
60
- add_enum "meshtastic.ScreenFonts" do
61
- value :FONT_SMALL, 0
62
- value :FONT_MEDIUM, 1
63
- value :FONT_LARGE, 2
64
- end
65
60
  end
66
61
  end
67
62
 
68
63
  module Meshtastic
69
64
  PositionLite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PositionLite").msgclass
65
+ UserLite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.UserLite").msgclass
70
66
  NodeInfoLite = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.NodeInfoLite").msgclass
71
67
  DeviceState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.DeviceState").msgclass
72
68
  ChannelFile = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ChannelFile").msgclass
73
- OEMStore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.OEMStore").msgclass
74
- ScreenFonts = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ScreenFonts").enummodule
75
69
  end
@@ -17,6 +17,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
17
  optional :lora, :message, 6, "meshtastic.Config.LoRaConfig"
18
18
  optional :bluetooth, :message, 7, "meshtastic.Config.BluetoothConfig"
19
19
  optional :version, :uint32, 8
20
+ optional :security, :message, 9, "meshtastic.Config.SecurityConfig"
20
21
  end
21
22
  add_message "meshtastic.LocalModuleConfig" do
22
23
  optional :mqtt, :message, 1, "meshtastic.ModuleConfig.MQTTConfig"
@@ -9,26 +9,27 @@ require 'meshtastic/module_config_pb'
9
9
  require 'meshtastic/portnums_pb'
10
10
  require 'meshtastic/telemetry_pb'
11
11
  require 'meshtastic/xmodem_pb'
12
+ require 'meshtastic/device_ui_pb'
12
13
 
13
14
  Google::Protobuf::DescriptorPool.generated_pool.build do
14
15
  add_file("meshtastic/mesh.proto", :syntax => :proto3) do
15
16
  add_message "meshtastic.Position" do
16
- optional :latitude_i, :sfixed32, 1
17
- optional :longitude_i, :sfixed32, 2
18
- optional :altitude, :int32, 3
17
+ proto3_optional :latitude_i, :sfixed32, 1
18
+ proto3_optional :longitude_i, :sfixed32, 2
19
+ proto3_optional :altitude, :int32, 3
19
20
  optional :time, :fixed32, 4
20
21
  optional :location_source, :enum, 5, "meshtastic.Position.LocSource"
21
22
  optional :altitude_source, :enum, 6, "meshtastic.Position.AltSource"
22
23
  optional :timestamp, :fixed32, 7
23
24
  optional :timestamp_millis_adjust, :int32, 8
24
- optional :altitude_hae, :sint32, 9
25
- optional :altitude_geoidal_separation, :sint32, 10
25
+ proto3_optional :altitude_hae, :sint32, 9
26
+ proto3_optional :altitude_geoidal_separation, :sint32, 10
26
27
  optional :PDOP, :uint32, 11
27
28
  optional :HDOP, :uint32, 12
28
29
  optional :VDOP, :uint32, 13
29
30
  optional :gps_accuracy, :uint32, 14
30
- optional :ground_speed, :uint32, 15
31
- optional :ground_track, :uint32, 16
31
+ proto3_optional :ground_speed, :uint32, 15
32
+ proto3_optional :ground_track, :uint32, 16
32
33
  optional :fix_quality, :uint32, 17
33
34
  optional :fix_type, :uint32, 18
34
35
  optional :sats_in_view, :uint32, 19
@@ -58,9 +59,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
58
59
  optional :hw_model, :enum, 5, "meshtastic.HardwareModel"
59
60
  optional :is_licensed, :bool, 6
60
61
  optional :role, :enum, 7, "meshtastic.Config.DeviceConfig.Role"
62
+ optional :public_key, :bytes, 8
61
63
  end
62
64
  add_message "meshtastic.RouteDiscovery" do
63
65
  repeated :route, :fixed32, 1
66
+ repeated :snr_towards, :int32, 2
67
+ repeated :route_back, :fixed32, 3
68
+ repeated :snr_back, :int32, 4
64
69
  end
65
70
  add_message "meshtastic.Routing" do
66
71
  oneof :variant do
@@ -82,6 +87,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
82
87
  value :DUTY_CYCLE_LIMIT, 9
83
88
  value :BAD_REQUEST, 32
84
89
  value :NOT_AUTHORIZED, 33
90
+ value :PKI_FAILED, 34
91
+ value :PKI_UNKNOWN_PUBKEY, 35
92
+ value :ADMIN_BAD_SESSION_KEY, 36
93
+ value :ADMIN_PUBLIC_KEY_UNAUTHORIZED, 37
85
94
  end
86
95
  add_message "meshtastic.Data" do
87
96
  optional :portnum, :enum, 1, "meshtastic.PortNum"
@@ -92,11 +101,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
92
101
  optional :request_id, :fixed32, 6
93
102
  optional :reply_id, :fixed32, 7
94
103
  optional :emoji, :fixed32, 8
104
+ proto3_optional :bitfield, :uint32, 9
95
105
  end
96
106
  add_message "meshtastic.Waypoint" do
97
107
  optional :id, :uint32, 1
98
- optional :latitude_i, :sfixed32, 2
99
- optional :longitude_i, :sfixed32, 3
108
+ proto3_optional :latitude_i, :sfixed32, 2
109
+ proto3_optional :longitude_i, :sfixed32, 3
100
110
  optional :expire, :uint32, 4
101
111
  optional :locked_to, :uint32, 5
102
112
  optional :name, :string, 6
@@ -125,6 +135,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
125
135
  optional :delayed, :enum, 13, "meshtastic.MeshPacket.Delayed"
126
136
  optional :via_mqtt, :bool, 14
127
137
  optional :hop_start, :uint32, 15
138
+ optional :public_key, :bytes, 16
139
+ optional :pki_encrypted, :bool, 17
140
+ optional :next_hop, :uint32, 18
141
+ optional :relay_node, :uint32, 19
142
+ optional :tx_after, :uint32, 20
128
143
  oneof :payload_variant do
129
144
  optional :decoded, :message, 4, "meshtastic.Data"
130
145
  optional :encrypted, :bytes, 5
@@ -136,6 +151,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
136
151
  value :BACKGROUND, 10
137
152
  value :DEFAULT, 64
138
153
  value :RELIABLE, 70
154
+ value :RESPONSE, 80
155
+ value :HIGH, 100
156
+ value :ALERT, 110
139
157
  value :ACK, 120
140
158
  value :MAX, 127
141
159
  end
@@ -153,13 +171,16 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
153
171
  optional :device_metrics, :message, 6, "meshtastic.DeviceMetrics"
154
172
  optional :channel, :uint32, 7
155
173
  optional :via_mqtt, :bool, 8
156
- optional :hops_away, :uint32, 9
174
+ proto3_optional :hops_away, :uint32, 9
157
175
  optional :is_favorite, :bool, 10
176
+ optional :is_ignored, :bool, 11
158
177
  end
159
178
  add_message "meshtastic.MyNodeInfo" do
160
179
  optional :my_node_num, :uint32, 1
161
180
  optional :reboot_count, :uint32, 8
162
181
  optional :min_app_version, :uint32, 11
182
+ optional :device_id, :bytes, 12
183
+ optional :pio_env, :string, 13
163
184
  end
164
185
  add_message "meshtastic.LogRecord" do
165
186
  optional :message, :string, 1
@@ -198,8 +219,21 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
198
219
  optional :xmodemPacket, :message, 12, "meshtastic.XModem"
199
220
  optional :metadata, :message, 13, "meshtastic.DeviceMetadata"
200
221
  optional :mqttClientProxyMessage, :message, 14, "meshtastic.MqttClientProxyMessage"
222
+ optional :fileInfo, :message, 15, "meshtastic.FileInfo"
223
+ optional :clientNotification, :message, 16, "meshtastic.ClientNotification"
224
+ optional :deviceuiConfig, :message, 17, "meshtastic.DeviceUIConfig"
201
225
  end
202
226
  end
227
+ add_message "meshtastic.ClientNotification" do
228
+ proto3_optional :reply_id, :uint32, 1
229
+ optional :time, :fixed32, 2
230
+ optional :level, :enum, 3, "meshtastic.LogRecord.Level"
231
+ optional :message, :string, 4
232
+ end
233
+ add_message "meshtastic.FileInfo" do
234
+ optional :file_name, :string, 1
235
+ optional :size_bytes, :uint32, 2
236
+ end
203
237
  add_message "meshtastic.ToRadio" do
204
238
  oneof :payload_variant do
205
239
  optional :packet, :message, 1, "meshtastic.MeshPacket"
@@ -237,6 +271,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
237
271
  optional :position_flags, :uint32, 8
238
272
  optional :hw_model, :enum, 9, "meshtastic.HardwareModel"
239
273
  optional :hasRemoteHardware, :bool, 10
274
+ optional :hasPKC, :bool, 11
275
+ optional :excluded_modules, :uint32, 12
240
276
  end
241
277
  add_message "meshtastic.Heartbeat" do
242
278
  end
@@ -244,6 +280,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
244
280
  optional :node_num, :uint32, 1
245
281
  optional :pin, :message, 2, "meshtastic.RemoteHardwarePin"
246
282
  end
283
+ add_message "meshtastic.ChunkedPayload" do
284
+ optional :payload_id, :uint32, 1
285
+ optional :chunk_count, :uint32, 2
286
+ optional :chunk_index, :uint32, 3
287
+ optional :payload_chunk, :bytes, 4
288
+ end
289
+ add_message "meshtastic.resend_chunks" do
290
+ repeated :chunks, :uint32, 1
291
+ end
292
+ add_message "meshtastic.ChunkedPayloadResponse" do
293
+ optional :payload_id, :uint32, 1
294
+ oneof :payload_variant do
295
+ optional :request_transfer, :bool, 2
296
+ optional :accept_transfer, :bool, 3
297
+ optional :resend_chunks, :message, 4, "meshtastic.resend_chunks"
298
+ end
299
+ end
247
300
  add_enum "meshtastic.HardwareModel" do
248
301
  value :UNSET, 0
249
302
  value :TLORA_V2, 1
@@ -265,6 +318,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
265
318
  value :NANO_G1_EXPLORER, 17
266
319
  value :NANO_G2_ULTRA, 18
267
320
  value :LORA_TYPE, 19
321
+ value :WIPHONE, 20
322
+ value :WIO_WM1110, 21
323
+ value :RAK2560, 22
324
+ value :HELTEC_HRU_3601, 23
325
+ value :HELTEC_WIRELESS_BRIDGE, 24
268
326
  value :STATION_G1, 25
269
327
  value :RAK11310, 26
270
328
  value :SENSELORA_RP2040, 27
@@ -303,11 +361,35 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
303
361
  value :TD_LORAC, 60
304
362
  value :CDEBYTE_EORA_S3, 61
305
363
  value :TWC_MESH_V4, 62
364
+ value :NRF52_PROMICRO_DIY, 63
365
+ value :RADIOMASTER_900_BANDIT_NANO, 64
366
+ value :HELTEC_CAPSULE_SENSOR_V3, 65
367
+ value :HELTEC_VISION_MASTER_T190, 66
368
+ value :HELTEC_VISION_MASTER_E213, 67
369
+ value :HELTEC_VISION_MASTER_E290, 68
370
+ value :HELTEC_MESH_NODE_T114, 69
371
+ value :SENSECAP_INDICATOR, 70
372
+ value :TRACKER_T1000_E, 71
373
+ value :RAK3172, 72
374
+ value :WIO_E5, 73
375
+ value :RADIOMASTER_900_BANDIT, 74
376
+ value :ME25LS01_4Y10TD, 75
377
+ value :RP2040_FEATHER_RFM95, 76
378
+ value :M5STACK_COREBASIC, 77
379
+ value :M5STACK_CORE2, 78
380
+ value :RPI_PICO2, 79
381
+ value :M5STACK_CORES3, 80
382
+ value :SEEED_XIAO_S3, 81
383
+ value :MS24SF1, 82
384
+ value :TLORA_C6, 83
385
+ value :WISMESH_TAP, 84
386
+ value :ROUTASTIC, 85
387
+ value :MESH_TAB, 86
306
388
  value :PRIVATE_HW, 255
307
389
  end
308
390
  add_enum "meshtastic.Constants" do
309
391
  value :ZERO, 0
310
- value :DATA_PAYLOAD_LEN, 237
392
+ value :DATA_PAYLOAD_LEN, 233
311
393
  end
312
394
  add_enum "meshtastic.CriticalErrorCode" do
313
395
  value :NONE, 0
@@ -322,6 +404,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
322
404
  value :BROWNOUT, 9
323
405
  value :SX1262_FAILURE, 10
324
406
  value :RADIO_SPI_BUG, 11
407
+ value :FLASH_CORRUPTION_RECOVERABLE, 12
408
+ value :FLASH_CORRUPTION_UNRECOVERABLE, 13
409
+ end
410
+ add_enum "meshtastic.ExcludedModules" do
411
+ value :EXCLUDED_NONE, 0
412
+ value :MQTT_CONFIG, 1
413
+ value :SERIAL_CONFIG, 2
414
+ value :EXTNOTIF_CONFIG, 4
415
+ value :STOREFORWARD_CONFIG, 8
416
+ value :RANGETEST_CONFIG, 16
417
+ value :TELEMETRY_CONFIG, 32
418
+ value :CANNEDMSG_CONFIG, 64
419
+ value :AUDIO_CONFIG, 128
420
+ value :REMOTEHARDWARE_CONFIG, 256
421
+ value :NEIGHBORINFO_CONFIG, 512
422
+ value :AMBIENTLIGHTING_CONFIG, 1024
423
+ value :DETECTIONSENSOR_CONFIG, 2048
424
+ value :PAXCOUNTER_CONFIG, 4096
325
425
  end
326
426
  end
327
427
  end
@@ -346,6 +446,8 @@ module Meshtastic
346
446
  LogRecord::Level = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.LogRecord.Level").enummodule
347
447
  QueueStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.QueueStatus").msgclass
348
448
  FromRadio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.FromRadio").msgclass
449
+ ClientNotification = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ClientNotification").msgclass
450
+ FileInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.FileInfo").msgclass
349
451
  ToRadio = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ToRadio").msgclass
350
452
  Compressed = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Compressed").msgclass
351
453
  NeighborInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.NeighborInfo").msgclass
@@ -353,7 +455,11 @@ module Meshtastic
353
455
  DeviceMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.DeviceMetadata").msgclass
354
456
  Heartbeat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Heartbeat").msgclass
355
457
  NodeRemoteHardwarePin = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.NodeRemoteHardwarePin").msgclass
458
+ ChunkedPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ChunkedPayload").msgclass
459
+ Resend_chunks = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.resend_chunks").msgclass
460
+ ChunkedPayloadResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ChunkedPayloadResponse").msgclass
356
461
  HardwareModel = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.HardwareModel").enummodule
357
462
  Constants = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Constants").enummodule
358
463
  CriticalErrorCode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.CriticalErrorCode").enummodule
464
+ ExcludedModules = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ExcludedModules").enummodule
359
465
  end
@@ -47,6 +47,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
47
47
  add_message "meshtastic.ModuleConfig.NeighborInfoConfig" do
48
48
  optional :enabled, :bool, 1
49
49
  optional :update_interval, :uint32, 2
50
+ optional :transmit_over_lora, :bool, 3
50
51
  end
51
52
  add_message "meshtastic.ModuleConfig.DetectionSensorConfig" do
52
53
  optional :enabled, :bool, 1
@@ -55,9 +56,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
55
56
  optional :send_bell, :bool, 4
56
57
  optional :name, :string, 5
57
58
  optional :monitor_pin, :uint32, 6
58
- optional :detection_triggered_high, :bool, 7
59
+ optional :detection_trigger_type, :enum, 7, "meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType"
59
60
  optional :use_pullup, :bool, 8
60
61
  end
62
+ add_enum "meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType" do
63
+ value :LOGIC_LOW, 0
64
+ value :LOGIC_HIGH, 1
65
+ value :FALLING_EDGE, 2
66
+ value :RISING_EDGE, 3
67
+ value :EITHER_EDGE_ACTIVE_LOW, 4
68
+ value :EITHER_EDGE_ACTIVE_HIGH, 5
69
+ end
61
70
  add_message "meshtastic.ModuleConfig.AudioConfig" do
62
71
  optional :codec2_enabled, :bool, 1
63
72
  optional :ptt_pin, :uint32, 2
@@ -81,6 +90,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
81
90
  add_message "meshtastic.ModuleConfig.PaxcounterConfig" do
82
91
  optional :enabled, :bool, 1
83
92
  optional :paxcounter_update_interval, :uint32, 2
93
+ optional :wifi_threshold, :int32, 3
94
+ optional :ble_threshold, :int32, 4
84
95
  end
85
96
  add_message "meshtastic.ModuleConfig.SerialConfig" do
86
97
  optional :enabled, :bool, 1
@@ -117,6 +128,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
117
128
  value :TEXTMSG, 3
118
129
  value :NMEA, 4
119
130
  value :CALTOPO, 5
131
+ value :WS85, 6
120
132
  end
121
133
  add_message "meshtastic.ModuleConfig.ExternalNotificationConfig" do
122
134
  optional :enabled, :bool, 1
@@ -141,6 +153,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
141
153
  optional :records, :uint32, 3
142
154
  optional :history_return_max, :uint32, 4
143
155
  optional :history_return_window, :uint32, 5
156
+ optional :is_server, :bool, 6
144
157
  end
145
158
  add_message "meshtastic.ModuleConfig.RangeTestConfig" do
146
159
  optional :enabled, :bool, 1
@@ -158,6 +171,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
158
171
  optional :power_measurement_enabled, :bool, 8
159
172
  optional :power_update_interval, :uint32, 9
160
173
  optional :power_screen_enabled, :bool, 10
174
+ optional :health_measurement_enabled, :bool, 11
175
+ optional :health_update_interval, :uint32, 12
176
+ optional :health_screen_enabled, :bool, 13
161
177
  end
162
178
  add_message "meshtastic.ModuleConfig.CannedMessageConfig" do
163
179
  optional :rotary1_enabled, :bool, 1
@@ -209,6 +225,7 @@ module Meshtastic
209
225
  ModuleConfig::RemoteHardwareConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ModuleConfig.RemoteHardwareConfig").msgclass
210
226
  ModuleConfig::NeighborInfoConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ModuleConfig.NeighborInfoConfig").msgclass
211
227
  ModuleConfig::DetectionSensorConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ModuleConfig.DetectionSensorConfig").msgclass
228
+ ModuleConfig::DetectionSensorConfig::TriggerType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ModuleConfig.DetectionSensorConfig.TriggerType").enummodule
212
229
  ModuleConfig::AudioConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ModuleConfig.AudioConfig").msgclass
213
230
  ModuleConfig::AudioConfig::Audio_Baud = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ModuleConfig.AudioConfig.Audio_Baud").enummodule
214
231
  ModuleConfig::PaxcounterConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.ModuleConfig.PaxcounterConfig").msgclass
@@ -17,6 +17,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
17
17
  value :WAYPOINT_APP, 8
18
18
  value :AUDIO_APP, 9
19
19
  value :DETECTION_SENSOR_APP, 10
20
+ value :ALERT_APP, 11
20
21
  value :REPLY_APP, 32
21
22
  value :IP_TUNNEL_APP, 33
22
23
  value :PAXCOUNTER_APP, 34
@@ -30,6 +31,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
30
31
  value :NEIGHBORINFO_APP, 71
31
32
  value :ATAK_PLUGIN, 72
32
33
  value :MAP_REPORT_APP, 73
34
+ value :POWERSTRESS_APP, 74
33
35
  value :PRIVATE_APP, 256
34
36
  value :ATAK_FORWARDER, 257
35
37
  value :MAX, 511
@@ -6,43 +6,72 @@ require 'google/protobuf'
6
6
  Google::Protobuf::DescriptorPool.generated_pool.build do
7
7
  add_file("meshtastic/telemetry.proto", :syntax => :proto3) do
8
8
  add_message "meshtastic.DeviceMetrics" do
9
- optional :battery_level, :uint32, 1
10
- optional :voltage, :float, 2
11
- optional :channel_utilization, :float, 3
12
- optional :air_util_tx, :float, 4
13
- optional :uptime_seconds, :uint32, 5
9
+ proto3_optional :battery_level, :uint32, 1
10
+ proto3_optional :voltage, :float, 2
11
+ proto3_optional :channel_utilization, :float, 3
12
+ proto3_optional :air_util_tx, :float, 4
13
+ proto3_optional :uptime_seconds, :uint32, 5
14
14
  end
15
15
  add_message "meshtastic.EnvironmentMetrics" do
16
- optional :temperature, :float, 1
17
- optional :relative_humidity, :float, 2
18
- optional :barometric_pressure, :float, 3
19
- optional :gas_resistance, :float, 4
20
- optional :voltage, :float, 5
21
- optional :current, :float, 6
22
- optional :iaq, :uint32, 7
23
- optional :distance, :float, 8
16
+ proto3_optional :temperature, :float, 1
17
+ proto3_optional :relative_humidity, :float, 2
18
+ proto3_optional :barometric_pressure, :float, 3
19
+ proto3_optional :gas_resistance, :float, 4
20
+ proto3_optional :voltage, :float, 5
21
+ proto3_optional :current, :float, 6
22
+ proto3_optional :iaq, :uint32, 7
23
+ proto3_optional :distance, :float, 8
24
+ proto3_optional :lux, :float, 9
25
+ proto3_optional :white_lux, :float, 10
26
+ proto3_optional :ir_lux, :float, 11
27
+ proto3_optional :uv_lux, :float, 12
28
+ proto3_optional :wind_direction, :uint32, 13
29
+ proto3_optional :wind_speed, :float, 14
30
+ proto3_optional :weight, :float, 15
31
+ proto3_optional :wind_gust, :float, 16
32
+ proto3_optional :wind_lull, :float, 17
33
+ proto3_optional :radiation, :float, 18
24
34
  end
25
35
  add_message "meshtastic.PowerMetrics" do
26
- optional :ch1_voltage, :float, 1
27
- optional :ch1_current, :float, 2
28
- optional :ch2_voltage, :float, 3
29
- optional :ch2_current, :float, 4
30
- optional :ch3_voltage, :float, 5
31
- optional :ch3_current, :float, 6
36
+ proto3_optional :ch1_voltage, :float, 1
37
+ proto3_optional :ch1_current, :float, 2
38
+ proto3_optional :ch2_voltage, :float, 3
39
+ proto3_optional :ch2_current, :float, 4
40
+ proto3_optional :ch3_voltage, :float, 5
41
+ proto3_optional :ch3_current, :float, 6
32
42
  end
33
43
  add_message "meshtastic.AirQualityMetrics" do
34
- optional :pm10_standard, :uint32, 1
35
- optional :pm25_standard, :uint32, 2
36
- optional :pm100_standard, :uint32, 3
37
- optional :pm10_environmental, :uint32, 4
38
- optional :pm25_environmental, :uint32, 5
39
- optional :pm100_environmental, :uint32, 6
40
- optional :particles_03um, :uint32, 7
41
- optional :particles_05um, :uint32, 8
42
- optional :particles_10um, :uint32, 9
43
- optional :particles_25um, :uint32, 10
44
- optional :particles_50um, :uint32, 11
45
- optional :particles_100um, :uint32, 12
44
+ proto3_optional :pm10_standard, :uint32, 1
45
+ proto3_optional :pm25_standard, :uint32, 2
46
+ proto3_optional :pm100_standard, :uint32, 3
47
+ proto3_optional :pm10_environmental, :uint32, 4
48
+ proto3_optional :pm25_environmental, :uint32, 5
49
+ proto3_optional :pm100_environmental, :uint32, 6
50
+ proto3_optional :particles_03um, :uint32, 7
51
+ proto3_optional :particles_05um, :uint32, 8
52
+ proto3_optional :particles_10um, :uint32, 9
53
+ proto3_optional :particles_25um, :uint32, 10
54
+ proto3_optional :particles_50um, :uint32, 11
55
+ proto3_optional :particles_100um, :uint32, 12
56
+ proto3_optional :co2, :uint32, 13
57
+ end
58
+ add_message "meshtastic.LocalStats" do
59
+ optional :uptime_seconds, :uint32, 1
60
+ optional :channel_utilization, :float, 2
61
+ optional :air_util_tx, :float, 3
62
+ optional :num_packets_tx, :uint32, 4
63
+ optional :num_packets_rx, :uint32, 5
64
+ optional :num_packets_rx_bad, :uint32, 6
65
+ optional :num_online_nodes, :uint32, 7
66
+ optional :num_total_nodes, :uint32, 8
67
+ optional :num_rx_dupe, :uint32, 9
68
+ optional :num_tx_relay, :uint32, 10
69
+ optional :num_tx_relay_canceled, :uint32, 11
70
+ end
71
+ add_message "meshtastic.HealthMetrics" do
72
+ proto3_optional :heart_bpm, :uint32, 1
73
+ proto3_optional :spO2, :uint32, 2
74
+ proto3_optional :temperature, :float, 3
46
75
  end
47
76
  add_message "meshtastic.Telemetry" do
48
77
  optional :time, :fixed32, 1
@@ -51,8 +80,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
51
80
  optional :environment_metrics, :message, 3, "meshtastic.EnvironmentMetrics"
52
81
  optional :air_quality_metrics, :message, 4, "meshtastic.AirQualityMetrics"
53
82
  optional :power_metrics, :message, 5, "meshtastic.PowerMetrics"
83
+ optional :local_stats, :message, 6, "meshtastic.LocalStats"
84
+ optional :health_metrics, :message, 7, "meshtastic.HealthMetrics"
54
85
  end
55
86
  end
87
+ add_message "meshtastic.Nau7802Config" do
88
+ optional :zeroOffset, :int32, 1
89
+ optional :calibrationFactor, :float, 2
90
+ end
56
91
  add_enum "meshtastic.TelemetrySensorType" do
57
92
  value :SENSOR_UNSET, 0
58
93
  value :BME280, 1
@@ -71,6 +106,24 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
71
106
  value :INA3221, 14
72
107
  value :BMP085, 15
73
108
  value :RCWL9620, 16
109
+ value :SHT4X, 17
110
+ value :VEML7700, 18
111
+ value :MLX90632, 19
112
+ value :OPT3001, 20
113
+ value :LTR390UV, 21
114
+ value :TSL25911FN, 22
115
+ value :AHT10, 23
116
+ value :DFROBOT_LARK, 24
117
+ value :NAU7802, 25
118
+ value :BMP3XX, 26
119
+ value :ICM20948, 27
120
+ value :MAX17048, 28
121
+ value :CUSTOM_SENSOR, 29
122
+ value :MAX30102, 30
123
+ value :MLX90614, 31
124
+ value :SCD4X, 32
125
+ value :RADSENS, 33
126
+ value :INA226, 34
74
127
  end
75
128
  end
76
129
  end
@@ -80,6 +133,9 @@ module Meshtastic
80
133
  EnvironmentMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.EnvironmentMetrics").msgclass
81
134
  PowerMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PowerMetrics").msgclass
82
135
  AirQualityMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.AirQualityMetrics").msgclass
136
+ LocalStats = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.LocalStats").msgclass
137
+ HealthMetrics = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.HealthMetrics").msgclass
83
138
  Telemetry = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Telemetry").msgclass
139
+ Nau7802Config = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Nau7802Config").msgclass
84
140
  TelemetrySensorType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.TelemetrySensorType").enummodule
85
141
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.80'
4
+ VERSION = '0.0.82'
5
5
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meshtastic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.80
4
+ version: 0.0.82
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-14 00:00:00.000000000 Z
10
+ date: 2025-01-16 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bundler
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - ">="
17
17
  - !ruby/object:Gem::Version
18
- version: 2.6.2
18
+ version: 2.6.3
19
19
  type: :development
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - ">="
24
24
  - !ruby/object:Gem::Version
25
- version: 2.6.2
25
+ version: 2.6.3
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bundle-audit
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -99,14 +99,14 @@ dependencies:
99
99
  requirements:
100
100
  - - '='
101
101
  - !ruby/object:Gem::Version
102
- version: 6.10.0
102
+ version: 6.11.0
103
103
  type: :development
104
104
  prerelease: false
105
105
  version_requirements: !ruby/object:Gem::Requirement
106
106
  requirements:
107
107
  - - '='
108
108
  - !ruby/object:Gem::Version
109
- version: 6.10.0
109
+ version: 6.11.0
110
110
  - !ruby/object:Gem::Dependency
111
111
  name: rspec
112
112
  requirement: !ruby/object:Gem::Requirement
@@ -209,9 +209,7 @@ description: https://github.com/0dayinc/meshtastic/README.md
209
209
  email:
210
210
  - support@0dayinc.com
211
211
  executables:
212
- - console
213
212
  - meshtastic_autoinc_version
214
- - setup
215
213
  extensions: []
216
214
  extra_rdoc_files: []
217
215
  files:
@@ -228,9 +226,7 @@ files:
228
226
  - LICENSE
229
227
  - README.md
230
228
  - Rakefile
231
- - bin/console
232
229
  - bin/meshtastic_autoinc_version
233
- - bin/setup
234
230
  - build_meshtastic_gem.sh
235
231
  - git_commit.sh
236
232
  - lib/meshtastic.rb
data/bin/console DELETED
@@ -1,11 +0,0 @@
1
- #!/usr/bin/env ruby
2
- # frozen_string_literal: true
3
-
4
- require "bundler/setup"
5
- require "meshtastic"
6
-
7
- # You can add fixtures and/or initialization code here to make experimenting
8
- # with your gem easier. You can also use a different console, if you like.
9
-
10
- require "irb"
11
- IRB.start(__FILE__)
data/bin/setup DELETED
@@ -1,8 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -euo pipefail
3
- IFS=$'\n\t'
4
- set -vx
5
-
6
- bundle install
7
-
8
- # Do any other automated setup that you need to do here