meshtastic 0.0.129 → 0.0.130
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 +2 -0
- 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: 6cf2cb6f126a32d2086f64ce38a54f82c522c3579c46d0019f81e900cfde974b
|
|
4
|
+
data.tar.gz: 3d7bf68962db9ed2979bd5828181a0dd5d801347d75e3598da164821e5c45351
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2107b10a0ee3ef8a61f419e8131a68062b27ea946f1002b8a7bbdc19d35806ec5951ef914ec36f2cedc1c790085cc1a596729a9d080b179c0a5a737abee280b6
|
|
7
|
+
data.tar.gz: 16eed63585b23209490820f0c98564dfcef159e729d4bd285bcf15e1933057f66e632d1bcd1c16ff2b5784bb9b56f55fe5d52ff171546e791127671e35159d57
|
data/lib/meshtastic/mqtt.rb
CHANGED
|
@@ -264,7 +264,9 @@ module Meshtastic
|
|
|
264
264
|
# )
|
|
265
265
|
public_class_method def self.send_text(opts = {})
|
|
266
266
|
mqtt_obj = opts[:mqtt_obj]
|
|
267
|
+
from = opts[:from]
|
|
267
268
|
topic = opts[:topic] ||= 'msh/US/2/e/LongFast/#'
|
|
269
|
+
topic = "#{topic}/#{from}"
|
|
268
270
|
opts[:via] = :mqtt
|
|
269
271
|
|
|
270
272
|
# TODO: Implement chunked message to deal with large messages
|
data/lib/meshtastic/version.rb
CHANGED