MQTT connect message using AT command

Hello everyone,

I need to make the connection via AT command with my broker that requires username and password.

I do not know how to do this after establishing the TCP connection. From what I have read this is done with the CIPSEND command but I do not know how to send it.

Someone could help me, please.

There are MQTT libraries available , you can use them to enter username and password and send them. Also you can check this tutorial for the fields.

Hi Ravi, thanks for your message.

But I need connect and publish using AT+CIPSEND… Do you know how to help me in this case?

I’ll need to send the data encoded in HEX?


Yes check this