meshtastic 0.0.51 → 0.0.53

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: a3b25733439f146126ff2350cde20e82173b75f4a7118df83cbd7ac09715832a
4
- data.tar.gz: f9296bf726f9399867171a02c5f261f3bd5c5fc264efc6323029d3a959d9a3e8
3
+ metadata.gz: a09f7af15af288d0de354979f38b5a976b3076b2756b4c3007b5948e6580c32c
4
+ data.tar.gz: 3fd9b22545978f2aeb468d5c5f61c5ea0623224e6c242472992be963f83376f3
5
5
  SHA512:
6
- metadata.gz: 7d1ab98506914f93b8fc3e6e5a792a7c8bd8e0c70cb8a88046ceaf7fb1f7617a127d1f450d175f90aec7bb22e7c605cd442e2d0db5efffcefb362a660ad65152
7
- data.tar.gz: 114f31f2563fb18099ddfba9b915b1b540c1b463098648a70530f60c81891cd522ffe7adceef632f82320490b8bd8fcb0110a77a6f3b5fc5b00dc8e60e12f7f1
6
+ metadata.gz: f93cc53e204a5738e97450bd4697587feeed09539115c1591e0b1aa5432ed5c1ae83bc6175b4917653b93555cf374612f97a8081e59eba95b1cafff827dd2130
7
+ data.tar.gz: ff03ee0103b414b675d28ff934b7684f9c2b24a02721d3cbab37465852666e092286aee35d7c8f2642161aa3b48c294164aebacdd0c49dede081b277195756a1
@@ -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')
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.51'
4
+ VERSION = '0.0.53'
5
5
  end
data/lib/meshtastic.rb CHANGED
@@ -95,7 +95,7 @@ module Meshtastic
95
95
  data.payload = text
96
96
  data.portnum = port_num
97
97
  data.want_response = want_response
98
- puts data.to_h
98
+ # puts data.to_h
99
99
 
100
100
  send_data(
101
101
  from: from,
@@ -230,7 +230,7 @@ module Meshtastic
230
230
 
231
231
  mesh_packet.encrypted = encrypted_payload
232
232
  end
233
- puts mesh_packet.to_h
233
+ # puts mesh_packet.to_h
234
234
 
235
235
  to_radio = Meshtastic::ToRadio.new
236
236
  to_radio.packet = mesh_packet
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.51
4
+ version: 0.0.53
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.