meshtastic 0.0.18 → 0.0.19

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: 95418c85d77e376647941a4ad72cb556f36917e3e08c38459e7d500ebc198fe8
4
- data.tar.gz: c25683cfd633e2aceb1a21c12b25bdaaaff2df1cca710457786e9721c9107971
3
+ metadata.gz: c86344c9da4b5ee0b8aa0ba59237e6117fd07ff7113cc41516ee9336542b2e9b
4
+ data.tar.gz: be245b738bddeadd9d46ccc62cc751de3fc4df3e802539498d1cefdcf3cc9221
5
5
  SHA512:
6
- metadata.gz: 07ad4d65c7734479d9f97c8f4af7ffa7496b1bca97adc108d1fa617b9f1836a793836d702171358cbbccc23151a2479975b4bd62a1a9e77024bd925fbb850870
7
- data.tar.gz: 8a11bec783dd3b48dfc4c830b651771ec0f9aadb9d0fc4814fab478f20eaf1ff197ee79d91a2ea458f79a76c1a3a9815c848045fd6e93255606cc39041b83976
6
+ metadata.gz: 94bfeb6caf399f255accbbf4507b2e6156bb4311c87c274411f9cceb6843126e48acfe15c874a603d9e2751696f177a8574ccac18a62d2c1e2e738b8b819e050
7
+ data.tar.gz: 80e35c0a6871b761a49bda7bb344e82a6d8af1347b8c0cffada6765aa19c9fcba6d7cb4a4af55de43492150d4cb3670147c0b0db8a4d8878662a75d14f8c572c
data/README.md CHANGED
@@ -30,7 +30,10 @@ At the moment the only module available is `Meshtastic::MQTT`. To view MQTT mes
30
30
  require 'meshtastic'
31
31
  Meshtastic::MQTT.help
32
32
  mqtt_obj = Meshastic::MQTT.connect
33
- Meshtastic::MQTT.subscribe(mqtt_obj: mqtt_obj)
33
+ Meshtastic::MQTT.subscribe(
34
+ mqtt_obj: mqtt_obj,
35
+ filter: 'NODEINFO_APP, LongFast'
36
+ )
34
37
  ```
35
38
 
36
39
  ## Contributing
@@ -50,7 +50,7 @@ module Meshtastic
50
50
  # psk: 'optional - channel pre-shared key (default: AQ==)',
51
51
  # qos: 'optional - quality of service (default: 0)',
52
52
  # json: 'optional - JSON output (default: false)',
53
- # filter: 'optional - comma-delimited string(s) to search for in the payload (default: nil)'
53
+ # filter: 'optional - comma-delimited string(s) to filter on in payload (default: nil)'
54
54
  # )
55
55
 
56
56
  public_class_method def self.subscribe(opts = {})
@@ -216,7 +216,9 @@ module Meshtastic
216
216
  region: 'optional - region (default: US)',
217
217
  channel: 'optional - channel name (default: LongFast)',
218
218
  psk: 'optional - channel pre-shared key (default: AQ==)',
219
- qos: 'optional - quality of service (default: 0)'
219
+ qos: 'optional - quality of service (default: 0)',
220
+ json: 'optional - JSON output (default: false)',
221
+ filter: 'optional - comma-delimited string(s) to filter on in payload (default: nil)'
220
222
  )
221
223
 
222
224
  mqtt_obj = #{self}.disconnect(
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.18'
4
+ VERSION = '0.0.19'
5
5
  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.18
4
+ version: 0.0.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.