meshtastic 0.0.136 → 0.0.137

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: 9a2f0696ed43ca59156381462124f7b718e3274c660f9137ec58825fddccdb51
4
- data.tar.gz: b4fc01faf3182e9aaef0bfab5b01d71a3a2e1bedea06fb284b2fb6eeecc1906b
3
+ metadata.gz: a5d969e6959b0de1adbf9cf9bbf0b960c280d6807d6a15bc396a357644271058
4
+ data.tar.gz: 88960eba0047ec2b99b8020af3860f4e4cb990e388454d8598df592b17991a98
5
5
  SHA512:
6
- metadata.gz: dbb40e6e0003f999ce026d4b590e27e62f2b5420089437fc2006f87cc1ac979c2c07ff5ae793d62d2cc006881100dd8e8d5a8936248d7c8549fdafb766fa374f
7
- data.tar.gz: 1e1cdf5c925e617e2245983082ce2c467830bca7c56b97853db3d95993bfc1f61493423ad87520d67bce1f4572e88e0984b1c1fab9ce909f8f64be88d8914f05
6
+ metadata.gz: 5f6f235c2d08db5e814a922b01e3a8be9b82525738999d936b9edf0859502b065b2b90006ea5a5d52297072b0a3b8da3ff7efe5497c8be4ebfe3748830d189c4
7
+ data.tar.gz: 52b3063c4ee550b7df970736131cd1494b163f32b67352c6d43daf3fe1746aca3983cfce8c2d295191cf92dd4b2323bc12b9254e4c38683b5d36fa47b39d9c69
data/Gemfile CHANGED
@@ -10,7 +10,7 @@ gem 'bundler', '>=2.7.2'
10
10
  gem 'bundle-audit', '0.1.0'
11
11
  gem 'geocoder', '1.8.6'
12
12
  gem 'google-protobuf', '4.33.0'
13
- gem 'grpc-tools', '1.75.0'
13
+ gem 'grpc-tools', '1.76.0'
14
14
  gem 'mqtt', '0.6.0'
15
15
  gem 'rake', '13.3.0'
16
16
  gem 'rdoc', '6.15.0'
@@ -291,11 +291,15 @@ module Meshtastic
291
291
  start_index = i * (max_bytes - chunk_prefix_len)
292
292
  end_index = (start_index + (max_bytes - chunk_prefix_len)) - 1
293
293
  chunk = "#{chunk_prefix} #{text.byteslice(start_index..end_index)}"
294
- opts[:text] = chunk
294
+ # This addresses a weird bug in the protocal if the first byte
295
+ # is an h or H followed by a single byte, which returns
296
+ # {} or {bitfiled: INT}
297
+ opts[:text] = " #{chunk}"
295
298
  protobuf_chunk = mui.send_text(opts)
296
299
  mqtt_obj.publish(absolute_topic, protobuf_chunk)
297
300
  end
298
301
  else
302
+ opts[:text] = " #{text}"
299
303
  protobuf_text = mui.send_text(opts)
300
304
  mqtt_obj.publish(absolute_topic, protobuf_text)
301
305
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Meshtastic
4
- VERSION = '0.0.136'
4
+ VERSION = '0.0.137'
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.136
4
+ version: 0.0.137
5
5
  platform: ruby
6
6
  authors:
7
7
  - 0day Inc.
@@ -71,14 +71,14 @@ dependencies:
71
71
  requirements:
72
72
  - - '='
73
73
  - !ruby/object:Gem::Version
74
- version: 1.75.0
74
+ version: 1.76.0
75
75
  type: :runtime
76
76
  prerelease: false
77
77
  version_requirements: !ruby/object:Gem::Requirement
78
78
  requirements:
79
79
  - - '='
80
80
  - !ruby/object:Gem::Version
81
- version: 1.75.0
81
+ version: 1.76.0
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: mqtt
84
84
  requirement: !ruby/object:Gem::Requirement