EasyManua.ls Logo

Ublox SARA-R4 Series - 24.5 MQTT command +UMQTTC

Ublox SARA-R4 Series
307 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09
24MQTT
Page 252 of 307
24.4Save/Restore MQTT profile from NVM +UMQTTNV
+UMQTTNV
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 - +CME Error
24.4.1Description
Either saves all of the MQTT client profile parameters to NVM (non-volatile memory) or sets all of the MQTT
client profile parameters to either default or non-volatile stored values.
24.4.2Syntax
Type Syntax Response Example
Set AT+UMQTTNV=<NVM_mode> +UMQTTNV: <NVM_mode>,
<result>
OK
AT+UMQTTNV=2
+UMQTTNV: 2,1
OK
Test AT+UMQTTNV=? +UMQTTNV: (list of <NVM_mode>s)
OK
+UMQTTNV: (0-2)
OK
24.4.3Defined values
Parameter Type Description
<NVM_mode> Number Operation to set or save the MQTT client profile parameters as follows:
0: restore MQTT client profile parameters to factory defaults
1: set MQTT client profile parameters to values stored previously in NVM
2: store current MQTT client profile parameters to NVM
<result> Number Operation result:
0: failure
1: success
24.5MQTT command +UMQTTC
+UMQTTC
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 < 60 s MQTT Error
24.5.1Description
Triggers the MQTT actions corresponding to the <op_code> parameter. The final result code indicates if
sending the command request to the MQTT process was successful or not.
The +UUMQTTC URC provides the result of the requested action from the MQTT server for login and subscribe.
In addition, the +UUMQTTC URC also provides notification to the client that unread messages are available
from the MQTT server. The +UUMQTTC URC is by default enabled.
The +UUMQTTCM URC provides the contents of the received message when after having issued the AT
+UMQTTC=6 command. The +UUMQTTCM URC is enabled by default.
24.5.2Syntax
Type Syntax Response Example
Generic syntax
Set AT+UMQTTC=<op_code>[,
<param1>[,<param2>][,<param3][,
<param4][,<param5]]
+UMQTTC: <op_code>,<MQTT_
result>
OK
AT+UMQTTC=0
+UMQTTC: 0,1
OK

Table of Contents

Other manuals for Ublox SARA-R4 Series

Related product manuals