meshtastic 0.0.10 → 0.0.12

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +34 -9
  3. data/.rubocop_todo.yml +38 -57
  4. data/AUTOGEN_meshtastic_protobufs.sh +1 -1
  5. data/Gemfile +1 -0
  6. data/lib/meshtastic/admin.rb +24 -0
  7. data/lib/meshtastic/apponly.rb +24 -0
  8. data/lib/meshtastic/atak.rb +24 -0
  9. data/lib/meshtastic/cannedmessages.rb +24 -0
  10. data/lib/meshtastic/channel.rb +24 -0
  11. data/lib/meshtastic/clientonly.rb +24 -0
  12. data/lib/meshtastic/config.rb +24 -0
  13. data/lib/meshtastic/connection_status.rb +24 -0
  14. data/lib/meshtastic/deviceonly.rb +24 -0
  15. data/lib/meshtastic/localonly.rb +24 -0
  16. data/lib/meshtastic/mesh.rb +24 -0
  17. data/lib/meshtastic/module_config.rb +24 -0
  18. data/lib/meshtastic/mqtt.rb +2 -3
  19. data/lib/meshtastic/paxcount.rb +24 -0
  20. data/lib/meshtastic/portnums.rb +24 -0
  21. data/lib/meshtastic/remote_hardware.rb +24 -0
  22. data/lib/meshtastic/rtttl.rb +24 -0
  23. data/lib/meshtastic/storeforward.rb +24 -0
  24. data/lib/meshtastic/telemetry.rb +24 -0
  25. data/lib/meshtastic/version.rb +1 -1
  26. data/lib/meshtastic/xmodem.rb +24 -0
  27. data/lib/meshtastic.rb +27 -3
  28. data/lib/nanopb_pb.rb +76 -0
  29. data/spec/lib/meshtastic/admin_spec.rb +6 -0
  30. data/spec/lib/meshtastic/apponly_pb_spec.rb +1 -1
  31. data/spec/lib/meshtastic/apponly_spec.rb +6 -0
  32. data/spec/lib/meshtastic/atak_pb_spec.rb +1 -1
  33. data/spec/lib/meshtastic/atak_spec.rb +6 -0
  34. data/spec/lib/meshtastic/cannedmessages_pb_spec.rb +1 -1
  35. data/spec/lib/meshtastic/cannedmessages_spec.rb +6 -0
  36. data/spec/lib/meshtastic/channel_pb_spec.rb +1 -1
  37. data/spec/lib/meshtastic/channel_spec.rb +6 -0
  38. data/spec/lib/meshtastic/clientonly_pb_spec.rb +1 -1
  39. data/spec/lib/meshtastic/clientonly_spec.rb +6 -0
  40. data/spec/lib/meshtastic/config_pb_spec.rb +1 -1
  41. data/spec/lib/meshtastic/config_spec.rb +6 -0
  42. data/spec/lib/meshtastic/connection_status_pb_spec.rb +1 -1
  43. data/spec/lib/meshtastic/connection_status_spec.rb +6 -0
  44. data/spec/lib/meshtastic/deviceonly_pb_spec.rb +1 -1
  45. data/spec/lib/meshtastic/deviceonly_spec.rb +6 -0
  46. data/spec/lib/meshtastic/localonly_pb_spec.rb +1 -1
  47. data/spec/lib/meshtastic/localonly_spec.rb +6 -0
  48. data/spec/lib/meshtastic/mesh_pb_spec.rb +1 -1
  49. data/spec/lib/meshtastic/mesh_spec.rb +6 -0
  50. data/spec/lib/meshtastic/module_config_pb_spec.rb +1 -1
  51. data/spec/lib/meshtastic/module_config_spec.rb +6 -0
  52. data/spec/lib/meshtastic/mqtt_pb_spec.rb +1 -1
  53. data/spec/lib/meshtastic/mqtt_spec.rb +1 -1
  54. data/spec/lib/meshtastic/paxcount_pb_spec.rb +1 -1
  55. data/spec/lib/meshtastic/paxcount_spec.rb +6 -0
  56. data/spec/lib/meshtastic/portnums_pb_spec.rb +1 -1
  57. data/spec/lib/meshtastic/portnums_spec.rb +6 -0
  58. data/spec/lib/meshtastic/remote_hardware_pb_spec.rb +1 -1
  59. data/spec/lib/meshtastic/remote_hardware_spec.rb +6 -0
  60. data/spec/lib/meshtastic/rtttl_pb_spec.rb +1 -1
  61. data/spec/lib/meshtastic/rtttl_spec.rb +6 -0
  62. data/spec/lib/meshtastic/storeforward_pb_spec.rb +1 -1
  63. data/spec/lib/meshtastic/storeforward_spec.rb +6 -0
  64. data/spec/lib/meshtastic/telemetry_pb_spec.rb +1 -1
  65. data/spec/lib/meshtastic/telemetry_spec.rb +6 -0
  66. data/spec/lib/meshtastic/xmodem_pb_spec.rb +1 -1
  67. data/spec/lib/meshtastic/xmodem_spec.rb +6 -0
  68. data/spec/lib/nanopb_pb_spec.rb +6 -0
  69. data/upgrade_Gemfile_gems.sh +10 -6
  70. metadata +55 -2
  71. data/lib/meshtastic/mqtt.rb.BAKq! +0 -214
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 21b90064f32606cb9c7dd3cf3ddc273030d28e2f5bae5931e074bdbafe40ff00
4
- data.tar.gz: a5e60143354dd6004778612fa83011dd692238b8ab945330314e020064c931d0
3
+ metadata.gz: 121b0a73d30f792b4da0cbd5b6ed91b648bc26ca3349cb47369fac738f837b03
4
+ data.tar.gz: a5ddf7b9969ab8c022107f84e192709c01441f5d78f4f011679b948dbe857006
5
5
  SHA512:
6
- metadata.gz: b68aeeedd90495de3ea7bc9f5f3baab32a55a0b2eeb067e24df728e0d3c3101caae688ee48d0421d0acd2c77358571922b8ef3b5b85ed3ec8002c811b58b3340
7
- data.tar.gz: cf1bcfd18b8885b2014daa44f33557e38ee396292fd3d0bd9b003a989410e73f9b0bc605608d312b72f96d4a0bed80e3571fe82284f3be4c10db9981cbf32987
6
+ metadata.gz: 110570d4591453df75c6d930df3c4ac3adcb06fd85e4354496fd093b080352754d6d8c7fb4e454989cd2ca0f27e4d53dd1664939b980fb3d59cb465d1afaec1e
7
+ data.tar.gz: 5be78bd5b710e9974708064eeccfd1563092051e66e1793b07fb34f3bc02687f4f483a79b3124d8d11cb43091bbc3076305bc8bf51b11373ab44686c1fd38496
data/.rubocop.yml CHANGED
@@ -1,10 +1,35 @@
1
- inherit_from: .rubocop_todo.yml
2
-
3
- AllCops:
4
- TargetRubyVersion: 3.0
1
+ AllCops:
2
+ UseCache: false
3
+ NewCops: enable
4
+ Layout/LineLength:
5
+ Max: 293
6
+ Lint/UselessRescue:
7
+ Enabled: false
8
+ Metrics/AbcSize:
9
+ Max: 537.6
10
+ Metrics/BlockLength:
11
+ Max: 138
12
+ Metrics/BlockNesting:
13
+ Max: 4
14
+ Metrics/ClassLength:
15
+ Max: 134
16
+ Metrics/CyclomaticComplexity:
17
+ Max: 103
18
+ Metrics/MethodLength:
19
+ Max: 485
20
+ Metrics/ModuleLength:
21
+ Max: 495
22
+ Metrics/PerceivedComplexity:
23
+ Max: 101
24
+ Style/HashEachMethods:
25
+ Enabled: true
26
+ Style/HashSyntax:
27
+ EnforcedShorthandSyntax: never
28
+ Style/HashTransformKeys:
29
+ Enabled: true
30
+ Style/HashTransformValues:
31
+ Enabled: true
32
+ Style/RedundantLineContinuation:
33
+ Enabled: false
5
34
 
6
- Style/StringLiterals:
7
- EnforcedStyle: double_quotes
8
-
9
- Style/StringLiteralsInInterpolation:
10
- EnforcedStyle: double_quotes
35
+ inherit_from: .rubocop_todo.yml
data/.rubocop_todo.yml CHANGED
@@ -1,17 +1,30 @@
1
1
  # This configuration was generated by
2
2
  # `rubocop --auto-gen-config`
3
- # on 2024-04-25 17:30:31 UTC using RuboCop version 1.63.3.
3
+ # on 2024-04-25 22:06:14 UTC using RuboCop version 1.63.3.
4
4
  # The point is for the user to remove these configuration records
5
5
  # one by one as the offenses are removed from the code base.
6
6
  # Note that changes in the inspected code, or installation of new
7
7
  # versions of RuboCop, may require this file to be generated again.
8
8
 
9
9
  # Offense count: 1
10
- # Configuration parameters: Severity, Include.
11
- # Include: **/*.gemspec
12
- Gemspec/RequiredRubyVersion:
10
+ # This cop supports safe autocorrection (--autocorrect).
11
+ # Configuration parameters: TreatCommentsAsGroupSeparators, ConsiderPunctuation, Include.
12
+ # Include: **/*.gemfile, **/Gemfile, **/gems.rb
13
+ Bundler/OrderedGems:
13
14
  Exclude:
14
- - 'meshtastic.gemspec'
15
+ - 'Gemfile'
16
+
17
+ # Offense count: 1
18
+ # This cop supports safe autocorrection (--autocorrect).
19
+ # Configuration parameters: AllowInHeredoc.
20
+ Layout/TrailingWhitespace:
21
+ Exclude:
22
+ - 'lib/meshtastic.rb'
23
+
24
+ # Offense count: 43
25
+ # Configuration parameters: AllowComments, AllowEmptyLambdas.
26
+ Lint/EmptyBlock:
27
+ Enabled: false
15
28
 
16
29
  # Offense count: 1
17
30
  # This cop supports unsafe autocorrection (--autocorrect-all).
@@ -20,38 +33,17 @@ Lint/UselessAssignment:
20
33
  Exclude:
21
34
  - 'meshtastic.gemspec'
22
35
 
23
- # Offense count: 1
24
- # Configuration parameters: AllowedMethods, AllowedPatterns, CountRepeatedAttributes.
25
- Metrics/AbcSize:
26
- Max: 157
27
-
28
- # Offense count: 27
29
- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
36
+ # Offense count: 6
37
+ # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
30
38
  # AllowedMethods: refine
31
39
  Metrics/BlockLength:
32
- Max: 313
33
-
34
- # Offense count: 1
35
- # Configuration parameters: AllowedMethods, AllowedPatterns.
36
- Metrics/CyclomaticComplexity:
37
- Max: 17
38
-
39
- # Offense count: 3
40
- # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns.
41
- Metrics/MethodLength:
42
- Max: 124
43
-
44
- # Offense count: 1
45
- # Configuration parameters: CountComments, CountAsOne.
46
- Metrics/ModuleLength:
47
- Max: 183
48
-
49
- # Offense count: 1
50
- # Configuration parameters: AllowedMethods, AllowedPatterns.
51
- Metrics/PerceivedComplexity:
52
- Max: 18
40
+ Exclude:
41
+ - '**/*.gemspec'
42
+ - 'lib/meshtastic/config_pb.rb'
43
+ - 'lib/meshtastic/mesh_pb.rb'
44
+ - 'lib/meshtastic/module_config_pb.rb'
53
45
 
54
- # Offense count: 36
46
+ # Offense count: 44
55
47
  # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
56
48
  # SupportedStyles: snake_case, normalcase, non_integer
57
49
  # AllowedIdentifiers: capture3, iso8601, rfc1123_date, rfc822, rfc2822, rfc3339, x86_64
@@ -60,23 +52,21 @@ Naming/VariableNumber:
60
52
  - 'lib/meshtastic/config_pb.rb'
61
53
  - 'lib/meshtastic/mesh_pb.rb'
62
54
  - 'lib/meshtastic/module_config_pb.rb'
55
+ - 'lib/nanopb_pb.rb'
63
56
 
64
- # Offense count: 1
57
+ # Offense count: 20
65
58
  # Configuration parameters: AllowedConstants.
66
59
  Style/Documentation:
67
- Exclude:
68
- - 'spec/**/*'
69
- - 'test/**/*'
70
- - 'lib/meshtastic/mqtt.rb'
60
+ Enabled: false
71
61
 
72
- # Offense count: 20
62
+ # Offense count: 21
73
63
  # This cop supports unsafe autocorrection (--autocorrect-all).
74
64
  # Configuration parameters: EnforcedStyle.
75
65
  # SupportedStyles: always, always_true, never
76
66
  Style/FrozenStringLiteralComment:
77
67
  Enabled: false
78
68
 
79
- # Offense count: 20
69
+ # Offense count: 21
80
70
  # This cop supports safe autocorrection (--autocorrect).
81
71
  # Configuration parameters: EnforcedStyle, EnforcedShorthandSyntax, UseHashRocketsWithSymbolValues, PreferHashRocketsForNonAlnumEndingSymbols.
82
72
  # SupportedStyles: ruby19, hash_rockets, no_mixed_keys, ruby19_no_mixed_keys
@@ -84,24 +74,15 @@ Style/FrozenStringLiteralComment:
84
74
  Style/HashSyntax:
85
75
  Enabled: false
86
76
 
87
- # Offense count: 176
77
+ # Offense count: 5
78
+ # This cop supports safe autocorrection (--autocorrect).
79
+ Style/RedundantConstantBase:
80
+ Exclude:
81
+ - 'lib/nanopb_pb.rb'
82
+
83
+ # Offense count: 457
88
84
  # This cop supports safe autocorrection (--autocorrect).
89
85
  # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
90
86
  # SupportedStyles: single_quotes, double_quotes
91
87
  Style/StringLiterals:
92
88
  Enabled: false
93
-
94
- # Offense count: 3
95
- # This cop supports safe autocorrection (--autocorrect).
96
- # Configuration parameters: EnforcedStyle.
97
- # SupportedStyles: single_quotes, double_quotes
98
- Style/StringLiteralsInInterpolation:
99
- Exclude:
100
- - 'meshtastic.gemspec'
101
-
102
- # Offense count: 62
103
- # This cop supports safe autocorrection (--autocorrect).
104
- # Configuration parameters: AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns.
105
- # URISchemes: http, https
106
- Layout/LineLength:
107
- Max: 183
@@ -18,7 +18,7 @@ if [[ ! -d $mesh_protobufs_root ]]; then
18
18
  fi
19
19
 
20
20
  cd $mesh_protobufs_root
21
- sudo protoc --proto_path=. --ruby_out=$mesh_protobufs_out ./meshtastic/*.proto
21
+ sudo protoc --proto_path=. --ruby_out=$mesh_protobufs_out nanopb.proto ./meshtastic/*.proto
22
22
 
23
23
  if (( $? == 0 )); then
24
24
  echo "Updated meshtastic protobufs reside in ${mesh_protobufs_out}"
data/Gemfile CHANGED
@@ -15,6 +15,7 @@ gem 'brakeman', '6.1.2'
15
15
  gem 'bundler', '>=2.5.3'
16
16
  gem 'bundle-audit', '0.1.0'
17
17
  gem 'geocoder', '1.8.2'
18
+ gem 'google-protobuf', '3.21.12'
18
19
  gem 'google-protobuf-z', '3.5.1'
19
20
  gem 'mqtt', '0.6.0'
20
21
  gem 'rake', '13.2.1'
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Admin
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Apponly
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module ATAK
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Cannedmessages
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Channel
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Clientonly
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Config
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module ConnectionStatus
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Deviceonly
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Localonly
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Mesh
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module ModuleConfig
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -6,7 +6,6 @@ require 'json'
6
6
  require 'mqtt'
7
7
  require 'openssl'
8
8
  require 'securerandom'
9
- require 'meshtastic/mqtt_pb'
10
9
 
11
10
  # Avoiding Namespace Collisions
12
11
  MQTTClient = MQTT::Client
@@ -233,11 +232,11 @@ module Meshtastic
233
232
  raise e
234
233
  end
235
234
 
236
- # Author(s):: 0day Inc. <request.pentest@0dayinc.com>
235
+ # Author(s):: 0day Inc. <support@0dayinc.com>
237
236
 
238
237
  public_class_method def self.authors
239
238
  "AUTHOR(S):
240
- 0day Inc. <request.pentest@0dayinc.com>
239
+ 0day Inc. <support@0dayinc.com>
241
240
  "
242
241
  end
243
242
 
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Paxcount
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Portnums
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module RemoteHardware
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module RTTTL
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end
@@ -0,0 +1,24 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'meshtastic/admin_pb'
4
+
5
+ # Plugin used to interact with Meshtastic nodes
6
+ module Meshtastic
7
+ module Storeforward
8
+ # Author(s):: 0day Inc. <support@0dayinc.com>
9
+
10
+ public_class_method def self.authors
11
+ "AUTHOR(S):
12
+ 0day Inc. <support@0dayinc.com>
13
+ "
14
+ end
15
+
16
+ # Display Usage for this Module
17
+
18
+ public_class_method def self.help
19
+ puts "USAGE:
20
+ #{self}.authors
21
+ "
22
+ end
23
+ end
24
+ end