ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev. 11 Page 894 of 1039 2021-09-23
3.24.4. AT#MQCONN - Connect and Log in the MQTT Broker
This command performs the connection and login to the MQTT broker.
AT#MQCONN=<instanceNumber>,<clientID>,<userName>,<passWord>
Set command performs network connection (using parameters set with
#MQCFG) and sends the CONNECT packet to the MQTT broker.
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
identifies each MQTT client that
connects to the MQTT broker.
Maximum length of <clientID> is
23.
authentication and
authorization.
Maximum length of <userName>
is 512.
authentication and
authorization.
Maximum length of <passWord>
is 512.