Last active
March 31, 2016 05:24
-
-
Save liangsteve/bb7468fb9e97060f4676d3e544c11a77 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let COUNT=75 | |
while [ $COUNT -gt 0 ]; do | |
mosquitto_pub -t "house" -h iot.eclipse.org -m "$COUNT" | |
let COUNT=(COUNT-1) | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mosquitto_sub -t "house" -h iot.eclipse.org |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mosquitto_pub -t "house" -h iot.eclipse.org -m "hello" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment