ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 509 of 545 2020-04-15
3.22.2. AT#MQCFG - Configure MQTT Parameters
This sets the connection parameters for the selected MQTT client.
AT#MQCFG=<instanceNumber>,<hostname>,<port>,<cid>
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
URL of the MQTT broker. Default value: 0
TCP port of the MQTT broker
PDP Context ID to be used for the connection.
Default value 0.
AT#MQCFG?
Read command returns the configuration of all active MQTT clients in the format:
#MQCFG: <instanceNumber>,<hostname>,<port>,<cid>
AT#MQCFG=?
Test command reports the available range of values for parameters.