|
58.
|
|
|
The QoS to use for the Will. Defaults to 0. This must be used in conjunction with --will-topic.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:198(para)
|
|
59.
|
|
|
If given, if the client disconnects unexpectedly the message sent out will be treated as a retained message. This must be used in conjunction with --will-topic.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:205(para)
|
|
60.
|
|
|
The topic on which to send a Will, in the event that the client disconnects unexpectedly.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:213(para)
|
|
61.
|
|
|
Wills
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:221(title)
|
|
62.
|
|
|
mosquitto_sub can register a message with the broker that will be sent out if it disconnects unexpectedly. See <citerefentry><refentrytitle>mqtt</refentrytitle><manvolnum>7</manvolnum></citerefentry> for more information.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:222(para)
|
|
63.
|
|
|
The minimum requirement for this is to use --will-topic to specify which topic the will should be sent out on. This will result in a non-retained, zero length message with QoS 0.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:226(para)
|
|
64.
|
|
|
Use the --will-retain, --will-payload and --will-qos arguments to modify the other will parameters.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:229(para)
|
|
65.
|
|
|
Examples
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:234(title)
|
|
66.
|
|
|
Note that these really are examples - the subscriptions will work if you run them as shown, but there must be something publishing messages on those topics for you to receive anything.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:235(para)
|
|
67.
|
|
|
Subscribe to temperature information on localhost with QoS 1:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_sub.1.xml:238(para)
|