Unable to open MQTT connection to AWS endpoint using BG96 – Technical Subjects
My issue is related to opening the MQTT connection to my AWS IoT Thing endpoint. I am using the Quectel BG96 modem. The AWS certificates have been tested on BG77 modem. And I’m able to open the connection and publish messages through BG77.
Following AT command script is being used to open the connection :
AT+QFUPL="root-CA.crt",1188,100CONNECT
+QFUPL: 1188,2d14
OKAT+QFUPL="bg96_test.private.key",1679,100CONNECT
+QFUPL: 1679,3526
OKAT+QFUPL="bg96_test.cert.pem",1224,100CONNECT
+QFUPL: 1224,417e
OK
AT+QSSLCFG="cacert",2,"root-CA.crt"OKAT+QSSLCFG="clientcert",2,"bg96_test.cert.pem"OKAT+QSSLCFG="clientkey",2,"bg96_test.private.key"OKAT+QSSLCFG="ciphersuite",2,0XFFFFOKAT+QSSLCFG="sslversion",2,4OKAT+QSSLCFG="seclevel",2,2OKAT+QSSLCFG="ignorelocaltime",1
+QSSLCFG: "ignorelocaltime",1,1OK
AT+QMTCFG="ssl",0,1,2OKAT+QMTCFG="version",0,4OK
AT+QMTOPEN=0,"a19jyibremb4gx-ats.iot.us-west-2.amazonaws.com",8883OK
+QMTOPEN: 0,-1
Read more here: Source link
