About the MQTT category

Discussions related to MQTT protocol should go here.

Hello everyone, I’m using SARA R4 module as a GSM module and I’m trying to send message to aws_iot cloud server.
I have created thing and I have tried sending data/message to cloud through wifi from ESP32 module, but I have stuck in the communication between SARA R4 GSM module and the AWS_IOT cloud.
In this try I can HANDSHAKE with AWS_iot Cloud successfully but after that when i try to connect to the client ID my socket get closed automatically, I think I’m making mistake in creating packet to send data to the cloud.

If you have any reference code or suggestion for solving or explaining this issue it will be much more helpful to me.