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 #252 background imageLoading...
Page #252 background image
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

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