SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

24MQTT
Page 255 of 307
24.5.4î™–î™–î™–î™–Notes
• The topic name should not include any wildcards for the Publish commands.
• The topic filter could include the '+' wildcard to substitute for a single topic folder or the '#' wildcard to
substitute for any number of topic folders. The '#' wildcard must be the last character in a topic filter.
• Login to the MQTT server will have two responses, an immediate "+UMQTTC: 1,1" response that indicates
that the module has sent the MQTT login request to the MQTT server. The MQTT server's login response
will happen asynchronously when the MQTT server has finished processing the MQTT login request and
decided whether or not to accept it.
• Subscription to a given Topic Filter will have two responses, an immediate "+UMQTTC: 4,1" response
that indicates that the module has sent the MQTT Subscription Request to the MQTT server. The
MQTT server's Subscription Response will happen asynchronously when the MQTT server has finished
processing the MQTT Subscription Request and decided whether or not to accept it.
SARA-R4 / SARA-N4
• <op_code>= 3 and 8 are not supported
24.6î™–î™–î™–î™–MQTT error +UMQTTER
+UMQTTER
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 - -
24.6.1î™–î™–î™–î™–Description
Retrieves the error code and module (plus possible supplemental information) of the last MQTT operation that
resulted in an error response.
24.6.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+UMQTTER +UMQTTER: <error_code>,<suppl_
error_code>
OK
AT+UMQTTER
+UMQTTER: 1,1
OK
24.6.3î™–î™–î™–î™–Defined values
Parameter Type Description
<error_code> Number Value of error code. Values are listed in Appendix A.7.
<suppl_error_code> Number Value of supplemental error code. The values are listed in Appendix A.7.1.