LE910Cx AT Commands Reference Guide
80502ST10950A Rev. 14 Page 1795 of 1904 2022-03-04
3.32.10. AT#MQCONN - Connect and Log in the MQTT Broker
This command performs the connection and login to the MQTT broker.
AT#MQCONN=<instance_number>,<client_id>[,<user_name>,<password>]
Set command perform 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
Authentication and authorization:
This is not mandatory, but this value
must be pair with <password>
ex) AT#MQCONN=1,"Test","USER"
(Invalid)
AT#MQCONN=1,"Test","USER","PAS
S" (valid)
Authentication and authorization