|
|
|
@ -723,7 +723,7 @@
|
|
|
|
|
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>Wills</title>
|
|
|
|
|
<para>mosquitto_sub can register a message with the broker that will be
|
|
|
|
|
<para>mosquitto_pub can register a message with the broker that will be
|
|
|
|
|
sent out if it disconnects unexpectedly. See
|
|
|
|
|
<citerefentry><refentrytitle><link xlink:href="mqtt-7.html">mqtt</link></refentrytitle><manvolnum>7</manvolnum></citerefentry>
|
|
|
|
|
for more information.</para>
|
|
|
|
@ -795,7 +795,7 @@
|
|
|
|
|
<refsect1>
|
|
|
|
|
<title>Exit Status</title>
|
|
|
|
|
<para>
|
|
|
|
|
mosquitto_sub returns zero on success, or non-zero on error. If
|
|
|
|
|
mosquitto_pub returns zero on success, or non-zero on error. If
|
|
|
|
|
the connection is refused by the broker at the MQTT level, then
|
|
|
|
|
the exit code is the CONNACK reason code. If another error
|
|
|
|
|
occurs, the exit code is a libmosquitto return value.
|
|
|
|
|