meshtastic 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +34 -9
  3. data/.rubocop_todo.yml +21 -54
  4. data/lib/meshtastic/admin.rb +24 -0
  5. data/lib/meshtastic/apponly.rb +24 -0
  6. data/lib/meshtastic/atak.rb +24 -0
  7. data/lib/meshtastic/cannedmessages.rb +24 -0
  8. data/lib/meshtastic/channel.rb +24 -0
  9. data/lib/meshtastic/clientonly.rb +24 -0
  10. data/lib/meshtastic/config.rb +24 -0
  11. data/lib/meshtastic/connection_status.rb +24 -0
  12. data/lib/meshtastic/deviceonly.rb +24 -0
  13. data/lib/meshtastic/localonly.rb +24 -0
  14. data/lib/meshtastic/mesh.rb +24 -0
  15. data/lib/meshtastic/module_config.rb +24 -0
  16. data/lib/meshtastic/mqtt.rb +2 -3
  17. data/lib/meshtastic/paxcount.rb +24 -0
  18. data/lib/meshtastic/portnums.rb +24 -0
  19. data/lib/meshtastic/remote_hardware.rb +24 -0
  20. data/lib/meshtastic/rtttl.rb +24 -0
  21. data/lib/meshtastic/storeforward.rb +24 -0
  22. data/lib/meshtastic/telemetry.rb +24 -0
  23. data/lib/meshtastic/version.rb +1 -1
  24. data/lib/meshtastic/xmodem.rb +24 -0
  25. data/lib/meshtastic.rb +21 -1
  26. data/spec/lib/meshtastic/admin_spec.rb +6 -0
  27. data/spec/lib/meshtastic/apponly_pb_spec.rb +1 -1
  28. data/spec/lib/meshtastic/apponly_spec.rb +6 -0
  29. data/spec/lib/meshtastic/atak_pb_spec.rb +1 -1
  30. data/spec/lib/meshtastic/atak_spec.rb +6 -0
  31. data/spec/lib/meshtastic/cannedmessages_pb_spec.rb +1 -1
  32. data/spec/lib/meshtastic/cannedmessages_spec.rb +6 -0
  33. data/spec/lib/meshtastic/channel_pb_spec.rb +1 -1
  34. data/spec/lib/meshtastic/channel_spec.rb +6 -0
  35. data/spec/lib/meshtastic/clientonly_pb_spec.rb +1 -1
  36. data/spec/lib/meshtastic/clientonly_spec.rb +6 -0
  37. data/spec/lib/meshtastic/config_pb_spec.rb +1 -1
  38. data/spec/lib/meshtastic/config_spec.rb +6 -0
  39. data/spec/lib/meshtastic/connection_status_pb_spec.rb +1 -1
  40. data/spec/lib/meshtastic/connection_status_spec.rb +6 -0
  41. data/spec/lib/meshtastic/deviceonly_pb_spec.rb +1 -1
  42. data/spec/lib/meshtastic/deviceonly_spec.rb +6 -0
  43. data/spec/lib/meshtastic/localonly_pb_spec.rb +1 -1
  44. data/spec/lib/meshtastic/localonly_spec.rb +6 -0
  45. data/spec/lib/meshtastic/mesh_pb_spec.rb +1 -1
  46. data/spec/lib/meshtastic/mesh_spec.rb +6 -0
  47. data/spec/lib/meshtastic/module_config_pb_spec.rb +1 -1
  48. data/spec/lib/meshtastic/module_config_spec.rb +6 -0
  49. data/spec/lib/meshtastic/mqtt_pb_spec.rb +1 -1
  50. data/spec/lib/meshtastic/mqtt_spec.rb +1 -1
  51. data/spec/lib/meshtastic/paxcount_pb_spec.rb +1 -1
  52. data/spec/lib/meshtastic/paxcount_spec.rb +6 -0
  53. data/spec/lib/meshtastic/portnums_pb_spec.rb +1 -1
  54. data/spec/lib/meshtastic/portnums_spec.rb +6 -0
  55. data/spec/lib/meshtastic/remote_hardware_pb_spec.rb +1 -1
  56. data/spec/lib/meshtastic/remote_hardware_spec.rb +6 -0
  57. data/spec/lib/meshtastic/rtttl_pb_spec.rb +1 -1
  58. data/spec/lib/meshtastic/rtttl_spec.rb +6 -0
  59. data/spec/lib/meshtastic/storeforward_pb_spec.rb +1 -1
  60. data/spec/lib/meshtastic/storeforward_spec.rb +6 -0
  61. data/spec/lib/meshtastic/telemetry_pb_spec.rb +1 -1
  62. data/spec/lib/meshtastic/telemetry_spec.rb +6 -0
  63. data/spec/lib/meshtastic/xmodem_pb_spec.rb +1 -1
  64. data/spec/lib/meshtastic/xmodem_spec.rb +6 -0
  65. metadata +39 -2
  66. 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: 43af3285af6ed933e15c126b6f8bf19a4431ec5a37b68ed507f493a91a977419
4
+ data.tar.gz: 2dd128aefc032711d5cb9ceb3938c3f28e21a51f780f08eda5f4bf98c97ae07e
5
5
  SHA512:
6
- metadata.gz: b68aeeedd90495de3ea7bc9f5f3baab32a55a0b2eeb067e24df728e0d3c3101caae688ee48d0421d0acd2c77358571922b8ef3b5b85ed3ec8002c811b58b3340
7
- data.tar.gz: cf1bcfd18b8885b2014daa44f33557e38ee396292fd3d0bd9b003a989410e73f9b0bc605608d312b72f96d4a0bed80e3571fe82284f3be4c10db9981cbf32987
6
+ metadata.gz: 0ea96743fe17ef5a19dd675bc4a33a7e601764dcdc87c878a661fe92f04b25ef7210fc6cd980e4bf07bd3e6cff38db1b3d69e0310df361d17303a11414630a9f
7
+ data.tar.gz: be54b1c02809f3497b53bf7083ade64fa8e329ffe040a910b5e0e9f1af67fcea4519db3fdd8f540ebbd24a76e567d3dec139a000fd3a13a55e748ac2f3c33cd4
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,23 @@
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 21:35:00 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: 42
18
+ # Configuration parameters: AllowComments, AllowEmptyLambdas.
19
+ Lint/EmptyBlock:
20
+ Enabled: false
15
21
 
16
22
  # Offense count: 1
17
23
  # This cop supports unsafe autocorrection (--autocorrect-all).
@@ -20,36 +26,15 @@ Lint/UselessAssignment:
20
26
  Exclude:
21
27
  - 'meshtastic.gemspec'
22
28
 
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.
29
+ # Offense count: 6
30
+ # Configuration parameters: CountComments, Max, CountAsOne, AllowedMethods, AllowedPatterns.
30
31
  # AllowedMethods: refine
31
32
  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
33
+ Exclude:
34
+ - '**/*.gemspec'
35
+ - 'lib/meshtastic/config_pb.rb'
36
+ - 'lib/meshtastic/mesh_pb.rb'
37
+ - 'lib/meshtastic/module_config_pb.rb'
53
38
 
54
39
  # Offense count: 36
55
40
  # Configuration parameters: EnforcedStyle, CheckMethodNames, CheckSymbols, AllowedIdentifiers, AllowedPatterns.
@@ -61,13 +46,10 @@ Naming/VariableNumber:
61
46
  - 'lib/meshtastic/mesh_pb.rb'
62
47
  - 'lib/meshtastic/module_config_pb.rb'
63
48
 
64
- # Offense count: 1
49
+ # Offense count: 20
65
50
  # Configuration parameters: AllowedConstants.
66
51
  Style/Documentation:
67
- Exclude:
68
- - 'spec/**/*'
69
- - 'test/**/*'
70
- - 'lib/meshtastic/mqtt.rb'
52
+ Enabled: false
71
53
 
72
54
  # Offense count: 20
73
55
  # This cop supports unsafe autocorrection (--autocorrect-all).
@@ -84,24 +66,9 @@ Style/FrozenStringLiteralComment:
84
66
  Style/HashSyntax:
85
67
  Enabled: false
86
68
 
87
- # Offense count: 176
69
+ # Offense count: 438
88
70
  # This cop supports safe autocorrection (--autocorrect).
89
71
  # Configuration parameters: EnforcedStyle, ConsistentQuotesInMultiline.
90
72
  # SupportedStyles: single_quotes, double_quotes
91
73
  Style/StringLiterals:
92
74
  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
@@ -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
@@ -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 Telemetry
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.10'
4
+ VERSION = '0.0.11'
5
5
  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 Xmodem
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