EasyManuals Logo
Home>Ublox>Control Unit>SARA-R4 Series

Ublox SARA-R4 Series User Manual

Ublox SARA-R4 Series
307 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #251 background imageLoading...
Page #251 background image
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

24MQTT
Page 251 of 307
Parameter Type Description
• 0 (default value): the Will Message will not be retained at the MQTT server across
disconnects from MQTT client
• 1: the Will Message will be retained by the MQTT server across disconnects from
MQTT client (until superseded by another message).
<Will_Topic> String Standard MQTT Topic Name. It could include various Topic Separators "/" to form
various Topic levels.
<result> Number Operation result:
• 0: failure
• 1: success
24.2.4î™–î™–î™–î™–Notes
• If a connection is attempted when the Will Message is not valid (i.e., either the empty string or the default
value), then the <Will_QoS> and <Will_Retain> parameters revert to default values.
24.3î™–î™–î™–î™–MQTT Will Message configuration +UMQTTWMSG
+UMQTTWMSG
SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full No No No - MQTT Error
24.3.1î™–î™–î™–î™–Description
Configures the Will Message associated with the other MQTT profile parameters for an MQTT client's
connection. In the MQTT Protocol, an MQTT client can configure a Will Message to be broadcast from the
MQTT message broker (MQTT server) whenever it disconnects the MQTT client outside of a specific MQTT
client disconnect request.
24.3.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+UMQTTWMSG=<Will_Msg> +UMQTTWMSG: <result>
OK
AT+UMQTTWMSG="Unrequested
Disconnect. Please check network
connectivity or battery life."
+UMQTTWMSG: 1
OK
Read AT+UMQTTWMSG? OK
Test AT+UMQTTWMSG=? OK
URC +UUMQTTWMSG: <Will_Msg> +UUMQTTWMSG: "Unrequested
Disconnect. Please check network
connectivity or battery life."
24.3.3î™–î™–î™–î™–Defined values
Parameter Type Description
<Will_Msg> String Standard MQTT message
<result> Number Operation result:
• 0: failure
• 1: success

Table of Contents

Other manuals for Ublox SARA-R4 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Ublox SARA-R4 Series and is the answer not in the manual?

Ublox SARA-R4 Series Specifications

General IconGeneral
BrandUblox
ModelSARA-R4 Series
CategoryControl Unit
LanguageEnglish

Related product manuals