Changes between Version 5 and Version 6 of mosquitto_ex
- Timestamp:
- 02/09/25 21:56:45 (5 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
mosquitto_ex
v5 v6 7 7 [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\": $i}"; done 8 8 }}} 9 10 = Mosquitto sub cmd 11 We sub for waiting cmd pub from client using this [attachment:mosq_sub_cmd_v1.py] 12 {{{ 13 krit mez tmp$ mosquitto_pub -h host -u user -P password -t 'kmitlt108/cmd' -m '{"id":1, "cmd":"echo 1 > /tmp/out.txt"}' 14 krit mez tmp$ 15 }}}