meshtastic 0.0.82 → 0.0.83

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: 77d635c45e8661781319f5cdcc60b9f1552e32becb9f4617a11567dc6d8282cc
4
+ data.tar.gz: daa1719bd20c05d766c4ca87f106a34834ce1460475b2ff85fadeefb45a7c198
5
5
  SHA512:
6
- metadata.gz: 8a96c4194695a35fd07c73727e54bf66f20eccf050c23bbb78185502c73d0eda89b5215ffc1072bcf4268b6f9a150b97f3d9a9c6be90b95d38c2e24bc3743c4a
7
- data.tar.gz: d0cfa239a2cac48d813bcc98b6ac40ad63f5ecdad2526a507d57ed94224d605b8d8834970f5123aa1a1d88045031c81a5898ecf1a8bbf13284715c4d5816ab72
6
+ metadata.gz: 1506f95b8392adadb2c481b51d44ae892da33ae078a1d19a34354b7925ed501662ad7a7802fb31f311a2ad2bf7f292c29da99ece03664a6e0ae2c98aa9363c78
7
+ data.tar.gz: 7e4c7feb719fcd5e1399f7038f0aa5da24239f91cd7edbf13a8e6962e31efd69b8a872bb4f3aaa08ec8ac12059ae574a2ff48fa404ba88f1ee941341bcac75f2
@@ -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.83'
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,7 +1,7 @@
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.83
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -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: []