SIM7070G does not connect to AWS IoT with MQTT

I am trying to connect to AWS IoT using MQTTS on SIM7070G but it doesn’t seem to be working. Normal MQTT without SSL works just fine.

My current firmware version is 1951B08SIM7070.

Just to mention SIM7000 seem to have same set of AT commands and a similar problem.

Please check the AT Commands below and let me know if there is a problem.

AT+CNACT=0,1
OK

+APP PDP: 0,ACTIVE

AT+SMCONF=“URL”,“XXXXXXXXX-ats.iot.ap-south-1.amazonaws.com”,8883 (commented out by X for security reasons)
OK

AT+SMCONF=“QOS”,1
OK

AT+SMCONF=“CLEANSS”,1
OK

AT+SMCONF=“CLIENTID”,“sim7070”
OK

AT+CSSLCFG=convert,2,“clientca.pem” (ALL certificates that I am using here are stored in filesystem with same filename and extension)
OK

AT+CSSLCFG=convert,1,“clientcert.pem”,“clientkey.pem”
OK

AT+CSSLCFG=“sslversion”,0,3
OK

AT+SMSSL=1,“clientca.pem”,“clientcert.pem”
OK

AT+SMCONN
ERROR

Thank you.

1 Like

Hi Darshan,

I’m not fully across the AT command set for the SIM7070G but I found this manual that should be able to help: https://www.waveshare.com/w/upload/0/02/SIM7070_SIM7080_SIM7090_Series_AT_Command_Manual_V1.03.pdf
Here’s a guide from Wavehshare that might help you get pointed in the right direction: SIM7070G Cat-M/NB-IoT/GPRS HAT - Waveshare Wiki

Do you have a link to the module you are using?
Liam.

2 Likes

Hey Liam,
Thanks for sharing. I have been following those resources since the beginning, with no success. Rest of the things are working, like connecting with plain MQTT, HTTP. When I try MQTTS with AWS IoT, it does not work.

My module : - SIM7070G TE BOARD-WI-1521-D (campuscomponent.com)

1 Like