wiki:mosquitto_ex

Version 4 (modified by krit, 3 years ago) (diff)

--

Mosquitto sub/pub

We sub and put in queue then create thread to read the queue mosq_feed_ex.py

Test with for loop in bash

[krit@mini Mqtt]$ for i in {1..10}; do mosquitto_pub -h mq1.mycompany.com -u userName -P mypassword -t "/mycompany/ActDAS/test" -m "{\"id\":}"; done

Attachments (1)

Download all attachments as: .zip