meshtastic 0.0.51 → 0.0.52
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 +0 -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: 5656d74b5db708a5326543863dcbedc9fa101d7a61e8fd3d0136f095ab108ab4
|
|
4
|
+
data.tar.gz: f18672f97ef7721d575ab07bd5e7cf019c38b11bf6486a132b35264ab8fdc978
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3eb1b0c0484564d25a9eafba5ab9a281bbab340e09472d9e3e9a173f9bea7d3d1cd65f173af5397cb54e6705b2d576638f80c3c96d5b95e958317e4ec5b751b
|
|
7
|
+
data.tar.gz: 5a8f975dd695e868569daa7d45c954f422d970becbfd42ed2ebc96b038b3056d9638c4c14f56ea1db2f72e7bea22d589026b17973027816f6b212a1a4526f7f0
|
data/lib/meshtastic/mqtt.rb
CHANGED
|
@@ -260,9 +260,7 @@ module Meshtastic
|
|
|
260
260
|
|
|
261
261
|
psk = psks[:LongFast]
|
|
262
262
|
target_channel = message[:topic].split('/')[-2].to_sym
|
|
263
|
-
puts "Target Channel: #{target_channel}"
|
|
264
263
|
psk = psks[target_channel] if psks.keys.include?(target_channel)
|
|
265
|
-
puts "PSK: #{psk}"
|
|
266
264
|
dec_psk = Base64.strict_decode64(psk)
|
|
267
265
|
|
|
268
266
|
cipher = OpenSSL::Cipher.new('AES-128-CTR')
|
data/lib/meshtastic/version.rb
CHANGED