ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 511 of 545 2020-04-15
3.22.3. AT#MQCFG2 - Configure Additional MQTT Parameters
This command sets the optional connection parameters for the selected MQTT client.
AT#MQCFG2=<instanceNumber>,<keepAlive>,<cleanSession>
Parameters:
selects the client instance. The list of available
clients is obtained with AT#MQEN? or the read
command.
client instance range. To know maxClients value
use test command
timeout of periodic packet to keep connection open
Indicates whether a persistent connection is
required. Without a persistent connection, when the
client is offline all information and messages that are
queued from a previous persistent session are lost.
AT#MQCFG2?
Read command returns the configuration of all active MQTT clients in the format:
#MQCFG2: <instanceNumber>,<keepAlive>,<cleanSession>
AT#MQCFG2=?
Test command reports the available range of values for parameters.