Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
tools:mqtt_as [2020/08/18 23:06] – [subtest] darrontools:mqtt_as [2020/08/18 23:41] (current) – external edit 127.0.0.1
Line 219: Line 219:
 <code> <code>
 #! /bin/bash #! /bin/bash
-while : +mosquitto_sub -h 192.168.0.13 -t result
-do +
-    mosquitto_sub -h 192.168.0.13 -t result +
-    sleep 5 +
-done+
 </code> </code>
  
Line 239: Line 235:
 ==script== ==script==
  
-publish two messages to the topic named 'foo_topic' which the ESP32 device is subscribed to,+Publish two messages to the topic named 'foo_topic' which the ESP32 device is subscribed to,
  
 <code> <code>
Line 255: Line 251:
 ==ESP32 output== ==ESP32 output==
  
-Running status on the ESP32 with incoming subscription messages.+Show running status on the ESP32 and incoming subscription topics.
  
 <code> <code>