Mosquitto
#
eclipse/mosquitto
安装
#
apt install mosquitto -y
apt install mosquitto-clients -y
使用
#
# mosquitto_pub version 1.6.9 running on libmosquitto 1.6.9.
mosquitto_pub {[-h host] [-p port] [-u username] [-P password] -t topic | -L URL}
{-f file | -l | -n | -m message}
[-c] [-k keepalive] [-q qos] [-r] [--repeat N] [--repeat-delay time]
[-A bind_address]
[-i id] [-I id_prefix]
[-d] [--quiet]
[-M max_inflight]
[-u username [-P password]]
[--will-topic [--will-payload payload] [--will-qos qos] [--will-retain]]
[{--cafile file | --capath dir} [--cert file] [--key file]
[--ciphers ciphers] [--insecure]
[--tls-alpn protocol]
[--tls-engine engine] [--keyform keyform] [--tls-engine-kpass-sha1]]
[--psk hex-key --psk-identity identity [--ciphers ciphers]]
[--proxy socks-url]
[--property command identifier value]
[-D command identifier value]
叶王 © 2013-2024 版权所有。如果本文档对你有所帮助,可以请作者喝饮料。