ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 899 of 1039 2021-09-23
3.24.6. AT#MQWCFG - Configure MQTT Last Will and Testament
This command sets Last Will and Testament for the selected MQTT client.
AT#MQWCFG=<instanceNumber>,<willFlag>[,<willRetain>,<willQos>,<willTopic>,
<willMsg>]
Parameters:
selects the client instance. The
list of available clients is
obtained with AT#MQEN? or the
read command.
client instance range. To know
maxClients value use test
command
selects whether the client needs
to specify a Last Will and
Testament. If set to 0, this is the
last parameter to be set.
the client does not need to specify a Last
Will and Testament
the client needs to specify a Last Will and
Testament
selects whether the Last Will
message needs to be retained by
the server