meshtastic 0.0.168 → 0.0.169
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 +4 -4
- data/lib/meshtastic/mqtt.rb +1 -1
- data/lib/meshtastic/serial_interface.rb +2 -2
- data/lib/meshtastic/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a8f7b8b0a9e3ef3d3830a06af9e4115b2a86e82ab0051a355601631622893cf5
|
|
4
|
+
data.tar.gz: c25b3a7ca577b8ab7477b15b2f16bc9ed502578741be845580cb773db4fa50aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5339975316659ee89aca979cea79b9d79e61ead161bfdbd7b6a2c0bdbe9eb136469bedbf4e3c2a5c50d1bdb58bc0d4f309c3019bbc9ace9cfe5d811b6af9c5e3
|
|
7
|
+
data.tar.gz: acb50a768aee9d2a3f4a7c3e868d8b509a4ea5c447356dffd25e8f9a3c283a5211af412ab94a523c71e62e555c5b6752b3e0f4728dbc21da62111b71a67607ad
|
data/lib/meshtastic/mqtt.rb
CHANGED
|
@@ -219,7 +219,7 @@ module Meshtastic
|
|
|
219
219
|
# include_arr.all? { |include| flat_message.include?(include) }
|
|
220
220
|
# )
|
|
221
221
|
|
|
222
|
-
disp = true if exclude_arr.
|
|
222
|
+
disp = true if !exclude_arr.intersect?(flat_message) &&
|
|
223
223
|
include_arr.all? { |include| flat_message.include?(include) }
|
|
224
224
|
|
|
225
225
|
if disp
|
|
@@ -206,7 +206,7 @@ module Meshtastic
|
|
|
206
206
|
|
|
207
207
|
dump_stdout_data(type: type) do |data|
|
|
208
208
|
disp = false
|
|
209
|
-
disp = true if exclude_arr.
|
|
209
|
+
disp = true if !exclude_arr.intersect?(data) && (
|
|
210
210
|
include_arr.empty? ||
|
|
211
211
|
include_arr.all? { |include| data.include?(include) }
|
|
212
212
|
)
|
|
@@ -383,7 +383,7 @@ module Meshtastic
|
|
|
383
383
|
if message.is_a?(Hash)
|
|
384
384
|
flat_message = message.values.join(' ')
|
|
385
385
|
|
|
386
|
-
disp = true if exclude_arr.
|
|
386
|
+
disp = true if !exclude_arr.intersect?(flat_message) && (
|
|
387
387
|
include_arr.first == message[:id] ||
|
|
388
388
|
include_arr.all? { |include| flat_message.include?(include) }
|
|
389
389
|
)
|
data/lib/meshtastic/version.rb
CHANGED