MQ-7200M User Manual, version 1.0.1
Page: 37
Last Will
The
Last Will and Testament
(LWT) function notifies other clients when a client disconnects
abnormally. The MQ-7200M can retain the Last Will (LWT) message on the Broker. If the
MQ-7200M unexpectedly disconnects, the Broker will send the LWT message to all clients that
have subscribed to this Offline topic.
Method:
1.
To enable this function, tick the
Last Will and Testament
box.
2.
Enter the topic name (Topic) and the LWT message (Data), and select the Quality of Service
(QoS) for message transmission (default value is 0). If the
Retained
box is checked, it indicates
that the LWT message will be stored on the Broker.
3.
Click the
Apply
button to update the settings.
QoS
0 – At most once:
Send the message only once
1 – At least once:
Send the message at least once
2 – Exactly once:
Make sure the message is delivered
1
3
2