meshtastic 0.0.139 → 0.0.141
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/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: 785319577f4c371da8c72dd2b1f700a3179a7fa8d4672f7e2abad9e5763797aa
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: 0736bd9766c030e3615fa9067bd039ff29ed70834ba35dbc5a879a805ce0e47e
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: 92f6ac7a0b25ed0ad74d02dbd82c1fd2afa6f780768b1513ce0bf85710a7a871577161b01471e0aad06381acec6106b43d77bef04237b7cc7a05c07cf0e997c8
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 4742e7444c0e05cc7457041904763df444435fddd71d1810d09ae17d3a46c091c103731846d9a652c4fc1dbb1769f9e38612011bcac04bc26dd38d7248ec9090
         
     | 
    
        data/lib/meshtastic/mqtt.rb
    CHANGED
    
    | 
         @@ -95,7 +95,6 @@ module Meshtastic 
     | 
|
| 
       95 
95 
     | 
    
         
             
                  # NOTE: Use MQTT Explorer for topic discovery
         
     | 
| 
       96 
96 
     | 
    
         
             
                  full_topic = "#{root_topic}/#{region}/#{topic}"
         
     | 
| 
       97 
97 
     | 
    
         
             
                  full_topic = "#{root_topic}/#{region}" if region == '#'
         
     | 
| 
       98 
     | 
    
         
            -
                  puts "Subscribing to: #{full_topic}"
         
     | 
| 
       99 
98 
     | 
    
         
             
                  mqtt_obj.subscribe(full_topic, qos)
         
     | 
| 
       100 
99 
     | 
    
         | 
| 
       101 
100 
     | 
    
         
             
                  # MQTT::ProtocolException: No Ping Response received for 23 seconds (MQTT::ProtocolException)
         
     | 
| 
         @@ -297,6 +296,7 @@ module Meshtastic 
     | 
|
| 
       297 
296 
     | 
    
         
             
                      opts[:text] = chunk
         
     | 
| 
       298 
297 
     | 
    
         
             
                      protobuf_chunk = mui.send_text(opts)
         
     | 
| 
       299 
298 
     | 
    
         
             
                      mqtt_obj.publish(absolute_topic, protobuf_chunk)
         
     | 
| 
      
 299 
     | 
    
         
            +
                      sleep 0.3
         
     | 
| 
       300 
300 
     | 
    
         
             
                    end
         
     | 
| 
       301 
301 
     | 
    
         
             
                  else
         
     | 
| 
       302 
302 
     | 
    
         
             
                    opts[:text] = " #{text}"
         
     | 
    
        data/lib/meshtastic/version.rb
    CHANGED