meshtastic 0.0.9 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +1 -1
- data/.rubocop.yml +34 -9
- data/.rubocop_todo.yml +21 -54
- data/lib/meshtastic/admin.rb +24 -0
- data/lib/meshtastic/apponly.rb +24 -0
- data/lib/meshtastic/atak.rb +24 -0
- data/lib/meshtastic/cannedmessages.rb +24 -0
- data/lib/meshtastic/channel.rb +24 -0
- data/lib/meshtastic/clientonly.rb +24 -0
- data/lib/meshtastic/config.rb +24 -0
- data/lib/meshtastic/connection_status.rb +24 -0
- data/lib/meshtastic/deviceonly.rb +24 -0
- data/lib/meshtastic/localonly.rb +24 -0
- data/lib/meshtastic/mesh.rb +24 -0
- data/lib/meshtastic/module_config.rb +24 -0
- data/lib/meshtastic/mqtt.rb +2 -3
- data/lib/meshtastic/paxcount.rb +24 -0
- data/lib/meshtastic/portnums.rb +24 -0
- data/lib/meshtastic/remote_hardware.rb +24 -0
- data/lib/meshtastic/rtttl.rb +24 -0
- data/lib/meshtastic/storeforward.rb +24 -0
- data/lib/meshtastic/telemetry.rb +24 -0
- data/lib/meshtastic/version.rb +1 -1
- data/lib/meshtastic/xmodem.rb +24 -0
- data/lib/meshtastic.rb +21 -1
- data/spec/lib/meshtastic/admin_spec.rb +6 -0
- data/spec/lib/meshtastic/apponly_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/apponly_spec.rb +6 -0
- data/spec/lib/meshtastic/atak_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/atak_spec.rb +6 -0
- data/spec/lib/meshtastic/cannedmessages_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/cannedmessages_spec.rb +6 -0
- data/spec/lib/meshtastic/channel_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/channel_spec.rb +6 -0
- data/spec/lib/meshtastic/clientonly_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/clientonly_spec.rb +6 -0
- data/spec/lib/meshtastic/config_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/config_spec.rb +6 -0
- data/spec/lib/meshtastic/connection_status_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/connection_status_spec.rb +6 -0
- data/spec/lib/meshtastic/deviceonly_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/deviceonly_spec.rb +6 -0
- data/spec/lib/meshtastic/localonly_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/localonly_spec.rb +6 -0
- data/spec/lib/meshtastic/mesh_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/mesh_spec.rb +6 -0
- data/spec/lib/meshtastic/module_config_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/module_config_spec.rb +6 -0
- data/spec/lib/meshtastic/mqtt_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/mqtt_spec.rb +1 -1
- data/spec/lib/meshtastic/paxcount_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/paxcount_spec.rb +6 -0
- data/spec/lib/meshtastic/portnums_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/portnums_spec.rb +6 -0
- data/spec/lib/meshtastic/remote_hardware_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/remote_hardware_spec.rb +6 -0
- data/spec/lib/meshtastic/rtttl_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/rtttl_spec.rb +6 -0
- data/spec/lib/meshtastic/storeforward_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/storeforward_spec.rb +6 -0
- data/spec/lib/meshtastic/telemetry_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/telemetry_spec.rb +6 -0
- data/spec/lib/meshtastic/xmodem_pb_spec.rb +1 -1
- data/spec/lib/meshtastic/xmodem_spec.rb +6 -0
- metadata +39 -2
- data/lib/meshtastic/mqtt.rb.BAKq! +0 -214
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43af3285af6ed933e15c126b6f8bf19a4431ec5a37b68ed507f493a91a977419
|
4
|
+
data.tar.gz: 2dd128aefc032711d5cb9ceb3938c3f28e21a51f780f08eda5f4bf98c97ae07e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ea96743fe17ef5a19dd675bc4a33a7e601764dcdc87c878a661fe92f04b25ef7210fc6cd980e4bf07bd3e6cff38db1b3d69e0310df361d17303a11414630a9f
|
7
|
+
data.tar.gz: be54b1c02809f3497b53bf7083ade64fa8e329ffe040a910b5e0e9f1af67fcea4519db3fdd8f540ebbd24a76e567d3dec139a000fd3a13a55e748ac2f3c33cd4
|
data/.github/workflows/main.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,10 +1,35 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
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
|
-
|
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
|
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
|
-
#
|
11
|
-
#
|
12
|
-
|
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
|
-
- '
|
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:
|
24
|
-
# Configuration parameters: AllowedMethods, AllowedPatterns
|
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
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
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:
|
49
|
+
# Offense count: 20
|
65
50
|
# Configuration parameters: AllowedConstants.
|
66
51
|
Style/Documentation:
|
67
|
-
|
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:
|
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
|
data/lib/meshtastic/mqtt.rb
CHANGED
@@ -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. <
|
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. <
|
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
|
data/lib/meshtastic/version.rb
CHANGED
@@ -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
|