Changes between Version 5 and Version 6 of mosquitto_ex


Ignore:
Timestamp:
02/09/25 21:56:45 (5 months ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • mosquitto_ex

    v5 v6  
    77[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
    88}}}
     9
     10= Mosquitto sub cmd
     11We sub for waiting cmd pub from client using this [attachment:mosq_sub_cmd_v1.py]
     12{{{
     13krit mez tmp$ mosquitto_pub -h host -u user -P password -t 'kmitlt108/cmd' -m '{"id":1, "cmd":"echo 1 > /tmp/out.txt"}'
     14krit mez tmp$
     15}}}