meshtastic 0.0.82 → 0.0.84

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: 95ca8e843d186a6b89ed3b64463001b0da0a651cf734675dfa28806aaaa03d73
4
- data.tar.gz: e1f5e58b746da496c31a231f6bca9cca8af12d16141edabbcb17b0e2243b868a
3
+ metadata.gz: 0ca705bdaa38afd29ea59f35b94ed3ecce1537c7fe935af621a5456e9c1e0777
4
+ data.tar.gz: 4d8f65d21679d3cab60133d8743db287491c2358c95c3aeb9b0d8c16682fb0fa
5
5
  SHA512:
6
- metadata.gz: 8a96c4194695a35fd07c73727e54bf66f20eccf050c23bbb78185502c73d0eda89b5215ffc1072bcf4268b6f9a150b97f3d9a9c6be90b95d38c2e24bc3743c4a
7
- data.tar.gz: d0cfa239a2cac48d813bcc98b6ac40ad63f5ecdad2526a507d57ed94224d605b8d8834970f5123aa1a1d88045031c81a5898ecf1a8bbf13284715c4d5816ab72
6
+ metadata.gz: 8e979a1fd886312be86c6073862c7950246b62ccfbd7b219dec29ceb2d9f9c371dbb1b56d7a64ae0f29979a606b1f8f2dc13580254e632dee437677b06b56514
7
+ data.tar.gz: ba6aa16e0293e9344676c29f886aecdf54349ccf1b695768b49e75ce8bf435da66eb69d24a1bbcd1f4c81dfd5ecdd52461268665169c68cb83ba9658213f0dc5
data/Gemfile CHANGED
@@ -14,9 +14,9 @@ gem 'mqtt', '0.6.0'
14
14
  gem 'rake', '13.2.1'
15
15
  gem 'rdoc', '6.11.0'
16
16
  gem 'rspec', '3.13.0'
17
- gem 'rubocop', '>=1.70.0'
17
+ gem 'rubocop', '>=1.71.0'
18
18
  gem 'rubocop-rake', '>=0.6.0'
19
- gem 'rubocop-rspec', '>=3.3.0'
19
+ gem 'rubocop-rspec', '>=3.4.0'
20
20
  gem 'rvm', '1.11.3.9'
21
21
  gem 'tty-prompt', '0.23.1'
22
22
  gem 'yard', '0.9.37'
@@ -0,0 +1,74 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: meshtastic/device_ui.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("meshtastic/device_ui.proto", :syntax => :proto3) do
8
+ add_message "meshtastic.DeviceUIConfig" do
9
+ optional :version, :uint32, 1
10
+ optional :screen_brightness, :uint32, 2
11
+ optional :screen_timeout, :uint32, 3
12
+ optional :screen_lock, :bool, 4
13
+ optional :settings_lock, :bool, 5
14
+ optional :pin_code, :uint32, 6
15
+ optional :theme, :enum, 7, "meshtastic.Theme"
16
+ optional :alert_enabled, :bool, 8
17
+ optional :banner_enabled, :bool, 9
18
+ optional :ring_tone_id, :uint32, 10
19
+ optional :language, :enum, 11, "meshtastic.Language"
20
+ optional :node_filter, :message, 12, "meshtastic.NodeFilter"
21
+ optional :node_highlight, :message, 13, "meshtastic.NodeHighlight"
22
+ optional :calibration_data, :bytes, 14
23
+ end
24
+ add_message "meshtastic.NodeFilter" do
25
+ optional :unknown_switch, :bool, 1
26
+ optional :offline_switch, :bool, 2
27
+ optional :public_key_switch, :bool, 3
28
+ optional :hops_away, :int32, 4
29
+ optional :position_switch, :bool, 5
30
+ optional :node_name, :string, 6
31
+ optional :channel, :int32, 7
32
+ end
33
+ add_message "meshtastic.NodeHighlight" do
34
+ optional :chat_switch, :bool, 1
35
+ optional :position_switch, :bool, 2
36
+ optional :telemetry_switch, :bool, 3
37
+ optional :iaq_switch, :bool, 4
38
+ optional :node_name, :string, 5
39
+ end
40
+ add_enum "meshtastic.Theme" do
41
+ value :DARK, 0
42
+ value :LIGHT, 1
43
+ value :RED, 2
44
+ end
45
+ add_enum "meshtastic.Language" do
46
+ value :ENGLISH, 0
47
+ value :FRENCH, 1
48
+ value :GERMAN, 2
49
+ value :ITALIAN, 3
50
+ value :PORTUGUESE, 4
51
+ value :SPANISH, 5
52
+ value :SWEDISH, 6
53
+ value :FINNISH, 7
54
+ value :POLISH, 8
55
+ value :TURKISH, 9
56
+ value :SERBIAN, 10
57
+ value :RUSSIAN, 11
58
+ value :DUTCH, 12
59
+ value :GREEK, 13
60
+ value :NORWEGIAN, 14
61
+ value :SLOVENIAN, 15
62
+ value :SIMPLIFIED_CHINESE, 30
63
+ value :TRADITIONAL_CHINESE, 31
64
+ end
65
+ end
66
+ end
67
+
68
+ module Meshtastic
69
+ DeviceUIConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.DeviceUIConfig").msgclass
70
+ NodeFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.NodeFilter").msgclass
71
+ NodeHighlight = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.NodeHighlight").msgclass
72
+ Theme = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Theme").enummodule
73
+ Language = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.Language").enummodule
74
+ end
@@ -0,0 +1,59 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: meshtastic/powermon.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("meshtastic/powermon.proto", :syntax => :proto3) do
8
+ add_message "meshtastic.PowerMon" do
9
+ end
10
+ add_enum "meshtastic.PowerMon.State" do
11
+ value :None, 0
12
+ value :CPU_DeepSleep, 1
13
+ value :CPU_LightSleep, 2
14
+ value :Vext1_On, 4
15
+ value :Lora_RXOn, 8
16
+ value :Lora_TXOn, 16
17
+ value :Lora_RXActive, 32
18
+ value :BT_On, 64
19
+ value :LED_On, 128
20
+ value :Screen_On, 256
21
+ value :Screen_Drawing, 512
22
+ value :Wifi_On, 1024
23
+ value :GPS_Active, 2048
24
+ end
25
+ add_message "meshtastic.PowerStressMessage" do
26
+ optional :cmd, :enum, 1, "meshtastic.PowerStressMessage.Opcode"
27
+ optional :num_seconds, :float, 2
28
+ end
29
+ add_enum "meshtastic.PowerStressMessage.Opcode" do
30
+ value :UNSET, 0
31
+ value :PRINT_INFO, 1
32
+ value :FORCE_QUIET, 2
33
+ value :END_QUIET, 3
34
+ value :SCREEN_ON, 16
35
+ value :SCREEN_OFF, 17
36
+ value :CPU_IDLE, 32
37
+ value :CPU_DEEPSLEEP, 33
38
+ value :CPU_FULLON, 34
39
+ value :LED_ON, 48
40
+ value :LED_OFF, 49
41
+ value :LORA_OFF, 64
42
+ value :LORA_TX, 65
43
+ value :LORA_RX, 66
44
+ value :BT_OFF, 80
45
+ value :BT_ON, 81
46
+ value :WIFI_OFF, 96
47
+ value :WIFI_ON, 97
48
+ value :GPS_OFF, 112
49
+ value :GPS_ON, 113
50
+ end
51
+ end
52
+ end
53
+
54
+ module Meshtastic
55
+ PowerMon = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PowerMon").msgclass
56
+ PowerMon::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PowerMon.State").enummodule
57
+ PowerStressMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PowerStressMessage").msgclass
58
+ PowerStressMessage::Opcode = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("meshtastic.PowerStressMessage.Opcode").enummodule
59
+ end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.82'
4
+ VERSION = '0.0.84'
5
5
  end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Meshtastic::DeviceUIConfig do
6
+ end
@@ -0,0 +1,6 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'spec_helper'
4
+
5
+ describe Meshtastic::PowerMon do
6
+ 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.82
4
+ version: 0.0.84
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-16 00:00:00.000000000 Z
10
+ date: 2025-01-27 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: bundler
@@ -127,14 +127,14 @@ dependencies:
127
127
  requirements:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
- version: 1.70.0
130
+ version: 1.71.0
131
131
  type: :runtime
132
132
  prerelease: false
133
133
  version_requirements: !ruby/object:Gem::Requirement
134
134
  requirements:
135
135
  - - ">="
136
136
  - !ruby/object:Gem::Version
137
- version: 1.70.0
137
+ version: 1.71.0
138
138
  - !ruby/object:Gem::Dependency
139
139
  name: rubocop-rake
140
140
  requirement: !ruby/object:Gem::Requirement
@@ -155,14 +155,14 @@ dependencies:
155
155
  requirements:
156
156
  - - ">="
157
157
  - !ruby/object:Gem::Version
158
- version: 3.3.0
158
+ version: 3.4.0
159
159
  type: :runtime
160
160
  prerelease: false
161
161
  version_requirements: !ruby/object:Gem::Requirement
162
162
  requirements:
163
163
  - - ">="
164
164
  - !ruby/object:Gem::Version
165
- version: 3.3.0
165
+ version: 3.4.0
166
166
  - !ruby/object:Gem::Dependency
167
167
  name: rvm
168
168
  requirement: !ruby/object:Gem::Requirement
@@ -246,6 +246,7 @@ files:
246
246
  - lib/meshtastic/config_pb.rb
247
247
  - lib/meshtastic/connection_status.rb
248
248
  - lib/meshtastic/connection_status_pb.rb
249
+ - lib/meshtastic/device_ui_pb.rb
249
250
  - lib/meshtastic/deviceonly.rb
250
251
  - lib/meshtastic/deviceonly_pb.rb
251
252
  - lib/meshtastic/localonly.rb
@@ -260,6 +261,7 @@ files:
260
261
  - lib/meshtastic/paxcount_pb.rb
261
262
  - lib/meshtastic/portnums.rb
262
263
  - lib/meshtastic/portnums_pb.rb
264
+ - lib/meshtastic/powermon_pb.rb
263
265
  - lib/meshtastic/remote_hardware.rb
264
266
  - lib/meshtastic/remote_hardware_pb.rb
265
267
  - lib/meshtastic/rtttl.rb
@@ -291,6 +293,7 @@ files:
291
293
  - spec/lib/meshtastic/config_spec.rb
292
294
  - spec/lib/meshtastic/connection_status_pb_spec.rb
293
295
  - spec/lib/meshtastic/connection_status_spec.rb
296
+ - spec/lib/meshtastic/device_ui_pb_spec.rb
294
297
  - spec/lib/meshtastic/deviceonly_pb_spec.rb
295
298
  - spec/lib/meshtastic/deviceonly_spec.rb
296
299
  - spec/lib/meshtastic/localonly_pb_spec.rb
@@ -305,6 +308,7 @@ files:
305
308
  - spec/lib/meshtastic/paxcount_spec.rb
306
309
  - spec/lib/meshtastic/portnums_pb_spec.rb
307
310
  - spec/lib/meshtastic/portnums_spec.rb
311
+ - spec/lib/meshtastic/powermon_pb_spec.rb
308
312
  - spec/lib/meshtastic/remote_hardware_pb_spec.rb
309
313
  - spec/lib/meshtastic/remote_hardware_spec.rb
310
314
  - spec/lib/meshtastic/rtttl_pb_spec.rb
@@ -342,7 +346,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
342
346
  - !ruby/object:Gem::Version
343
347
  version: '0'
344
348
  requirements: []
345
- rubygems_version: 3.6.2
349
+ rubygems_version: 3.6.3
346
350
  specification_version: 4
347
351
  summary: Ruby gem for Meshtastic
348
352
  test_files: []