Skip to content

Instantly share code, notes, and snippets.

@giljr
Last active January 12, 2020 13:47
Show Gist options
  • Save giljr/01cab1c30da0b081bdb4b3d2f681da33 to your computer and use it in GitHub Desktop.
Save giljr/01cab1c30da0b081bdb4b3d2f681da33 to your computer and use it in GitHub Desktop.
Name
mosquitto_pub — an MQTT version 5/3.1.1/3.1 client for publishing simple messages
Synopsis
mosquitto_pub { [-h hostname] [-p port-number] [-u username]
[-P password] -t message-topic... | -L URL }
[-A bind-address] [-c] [-d] [-D command identifier value]
[-i client-id] [-I client-id-prefix] [-k keepalive-time]
[-q message-QoS] [--quiet] [-r] [--repeat count] [--repeat-delay seconds]
[-S] { -f file | -l | -m message | -n | -s }
[ --will-topic topic [--will-payload payload] [--will-qos qos]
[--will-retain] ] [[ { --cafile file | --capath dir }
[--cert file] [--key file] [--ciphers ciphers] [--tls-version version]
[--tls-alpn protocol] [--tls-engine engine]
[--keyform { pem | engine }] [--tls-engine-kpass-sha1 kpass-sha1]
[--insecure] ] | [ --psk hex-key --psk-identity identity
[--ciphers ciphers] [--tls-version version] ]] [--proxy socks-url]
[-V protocol-version]
mosquitto_pub [--help]
@giljr
Copy link
Author

giljr commented Jan 12, 2020

just updating the format

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment