ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 508 of 545 2020-04-15
MQTT
3.22.1. AT#MQEN - Enable MQTT Feature
This command initializes a MQTT client and allocates the necessary resources.
AT#MQEN=<instanceNumber>,<enable>
Set command enables/disables the MQTT client for further configuration and usage.
Parameters:
selects the client instance to activate or
deactivate
client instance range. To know maxClients value
use test command
selects if client must be activated or deactivated
AT#MQEN?
Read command returns the status of the MQTT stack in the format
#MQEN: <instanceNumber>,<enabled>
AT#MQEN=?
Test command reports the available range of values for parameters.
Read command
AT#MQEN?
#MQEN: 1,1
#MQEN: 2,0
OK
Test command
AT#MQEN=?
#MQEN: (1-maxClients),(0-1)
OK