M95 connection MQTT Issue

Folder still contains the old firmware. Can you please share the new firmware link.

Hi Bagwan:
The firmware on your screenshot is the R03A05 package.You can download it.

Thanks for the quick reply.

I updated the firmware couple of times, ATI still returns old firmware version (Revision: M95FAR02A08).

Modem is not able to connect to AWS. Below are the logs.

+CPIN: READY

Call Ready

ATI

Quectel_Ltd
Quectel_M95
Revision: M95FAR02A08

OK

AT+CPIN?
+CPIN: READY
OK

AT+CGREG?
+CGREG: 0,2
OK

AT+CGREG?
+CGREG: 0,2
OK

AT+CGREG?
+CGREG: 0,1
OK

AT+QICSGP=1,“airtelgprs.com
OK

AT+QICSGP?
+QICSGP: 1
OK

AT+QIREGAPP
OK

AT+QIACT
OK

AT+QILOCIP
100.74.3.106

AT+QMTCFG=“SSL”,0,1,2
OK

AT+QSECWRITE=“RAM:cacert.pem”,1188,100

CONNECT

Writing Certificate-------

+QSECWRITE: 1188,2d13
OK

AT+QSECWRITE=“RAM:client.pem”,1224,100
CONNECT

Writing Certificate------

+QSECWRITE: 1224,5875
OK

AT+QSECWRITE=“RAM:user_key.pem”,1675,100
CONNECT

Writing Certificate------

+QSECWRITE: 1675,424f
OK

AT+QSSLCFG=“cacert”,2,“cacert.pem”

OK

AT+QSSLCFG=“clientcert”,2,“client.pem”

OK

AT+QSSLCFG=“clientkey”,2,“user_key.pem”

OK

AT+QSSLCFG=“seclevel”,2,2

OK

AT+QSSLCFG=“sslversion”,2,4

OK

AT+QSSLCFG=“ciphersuite”,2,“0xFFFF”

OK

AT+QSSLCFG=“ignorertctime”,1
OK

opening connection* millis:28829
AT+QMTOPEN=0,“a1kg3xym5mvhon-ats.iot.ap-south-1.amazonaws.com”,8883

OK

+QMTOPEN: 0,-1

open failed***^C

Please use the MQTT.fx tool to test whether you can connect to AWS.
If you cannot connect using this tool, please check your certificates or other configurations.

I am able to connect to AWS using MQTT Box and same certificates are working for M66 and EG91 modem. I will still verify it or generate new certificates and try.

However, even after the firmware update the M95 modem is printing M95FAR02A08, is it the right version?

Yes,it is the right version.Because M95F is certified on R02A08 version, the version number is always the certified version number.When the upgrade is completed, it shows that it is success which means it is successful.


But earlier comment on this thread says M95FAR02A08 version does not support MQTT.

Thanks Winnie,

Its working now, I had missed the RAM attribute while configuring the certificates.
AT+QSSLCFG=“cacert”,2,“RAM:cacert.pem”
AT+QSSLCFG=“clientcert”,2,“RAM:client.pem”
AT+QSSLCFG=“clientkey”,2,“RAM:user_key.pem”

Thanks a lot.

You are welcome.Wish you all the best.

hello @WillieYao-Q Could you please upload the firmware again, it appears to me that the link is currently broken