Version 4 (modified by 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)
- mosq_feed_ex.py (6.8 KB) - added by 3 years ago.
Download all attachments as: .zip