|
65.
|
|
|
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_pub.1.xml:201(para)
|
|
66.
|
|
|
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_pub.1.xml:208(para)
|
|
67.
|
|
|
The topic on which to send a Will, in the event that the client disconnects unexpectedly.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:216(para)
|
|
68.
|
|
|
Wills
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:224(title)
|
|
69.
|
|
|
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_pub.1.xml:225(para)
|
|
70.
|
|
|
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_pub.1.xml:229(para)
|
|
71.
|
|
|
Use the --will-retain, -will-payload and --will-qos arguments to modify the other will parameters.
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:232(para)
|
|
72.
|
|
|
Examples
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:237(title)
|
|
73.
|
|
|
Publish temperature information to localhost with QoS 1:
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:238(para)
|
|
74.
|
|
|
mosquitto_pub -t sensors/temperature -m 32 -q 1
|
|
|
|
(no translation yet)
|
|
|
|
Located in
mosquitto_pub.1.xml:240(para)
|