meshtastic 0.0.24 → 0.0.25
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/README.md +4 -4
- data/lib/meshtastic/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9aaeb1f3c75edb7a08e4f090d34ebbdae6d2bee25ff9b6cde3191967b425412d
|
4
|
+
data.tar.gz: 8ea1b16b5e6e50cb5557f3bf188c6ee1ae76dd98a9c8f88ca46b7913eb42790b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 47fae55292b03c5993c4ecd1123e337fd7fc205c9aca093a4762ce1208d7e3c8ae33f950d8c036ea3aaf2396043430f2779988d28fd625bae983c5fe7221c432
|
7
|
+
data.tar.gz: 259fad6dbe769bb3d427ab6e5583f85fca1db5d6ebd14d0637f4edc8344cb09f8f34e31d592c72101e0a381faa270942dd2722bd2ccb924a28e961b5bc57e066
|
data/Gemfile
CHANGED
data/README.md
CHANGED
@@ -24,7 +24,7 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
24
24
|
|
25
25
|
## Usage
|
26
26
|
|
27
|
-
At the moment the only module available is `Meshtastic::MQTT`. To view MQTT messages,
|
27
|
+
At the moment the only module available is `Meshtastic::MQTT`. To view MQTT messages, and filter for all messages containing `_APP` _and_ `LongFast` strings, use the following code:
|
28
28
|
|
29
29
|
```ruby
|
30
30
|
require 'meshtastic'
|
@@ -32,17 +32,17 @@ Meshtastic::MQTT.help
|
|
32
32
|
mqtt_obj = Meshastic::MQTT.connect
|
33
33
|
Meshtastic::MQTT.subscribe(
|
34
34
|
mqtt_obj: mqtt_obj,
|
35
|
-
filter: '
|
35
|
+
filter: '_APP, LongFast'
|
36
36
|
)
|
37
37
|
```
|
38
38
|
|
39
|
-
This code will
|
39
|
+
This code will dump the contents of every message:
|
40
40
|
|
41
41
|
```ruby
|
42
42
|
require 'meshtastic'
|
43
43
|
mqtt_obj = Meshastic::MQTT.connect
|
44
44
|
Meshtastic::MQTT.subscribe(mqtt_obj: mqtt_obj) do |message|
|
45
|
-
puts message
|
45
|
+
puts message.inspect
|
46
46
|
end
|
47
47
|
```
|
48
48
|
|
data/lib/meshtastic/version.rb
CHANGED
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.
|
4
|
+
version: 0.0.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 0day Inc.
|
@@ -178,6 +178,20 @@ dependencies:
|
|
178
178
|
- - '='
|
179
179
|
- !ruby/object:Gem::Version
|
180
180
|
version: 1.11.3.9
|
181
|
+
- !ruby/object:Gem::Dependency
|
182
|
+
name: yard
|
183
|
+
requirement: !ruby/object:Gem::Requirement
|
184
|
+
requirements:
|
185
|
+
- - '='
|
186
|
+
- !ruby/object:Gem::Version
|
187
|
+
version: 0.9.36
|
188
|
+
type: :runtime
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - '='
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.9.36
|
181
195
|
description: https://github.com/0dayinc/meshtastic/README.md
|
182
196
|
email:
|
183
197
|
- support@0dayinc.com
|