9.10.1.6 +MQTTLWT

This is used to define a last will message.

Security – Default Security for the command is: GGGG

Table 9-71. Command Syntax

Command

Description

Security

SAT+MQTTLWT=<QOS>,<RETAIN>,<TOPIC_NAME>,<TOPIC_PAYLOAD>

Specific an LWT

GGGG

Table 9-72. Command Parameter Syntax

Parameter Name

Type

Description

<QOS>

Integer

QoS
  • 0 – QoS 0
  • 1 – QoS 1
  • 2 – QoS 2

<RETAIN>

Integer

Retain Message
  • 0 – Not retained on the server
  • 1 – Retained on the server

<TOPIC_NAME>

String

Topic Name

<TOPIC_PAYLOAD>

String

Topic Payload