Ec200u +qmtopen: 0,5 (qmtopen -network connection error)

Hi,

I was facing QMTOPEN problem in EC200U modem with SSL connection. I had tried many things and I was checked different kind of ways and I referred with old topics as per my problem but I can’t get solution, still I can’t to establish MQTT connection. Can anyone help to resolve this issue…Thanks.

AT

OK
ATI

Quectel
EC200U
Revision: EC200UCNAAR02A09M08

OK
AT+CREG

OK
AT+CREG?

+CREG: 0,5

OK
AT+CGREG?

+CGREG: 0,5

OK
AT+CSQ

+CSQ: 18,99

OK
AT+QIACT?

+QIACT: 1,1,1,"100.91.78.11"

OK
AT+CGDCONT?

+CGDCONT: 1,"IP","airtelgprs.com","100.91.78.11",0,0

OK
AT+QFLST="UFS:*"

+QFLST: "UFS:cacert.pem",1356
+QFLST: "UFS:client.pem",1060
+QFLST: "UFS:user_key.pem",1737

OK
AT+QSSLCFG="cacert",2,"UFS:cacert.pem "

OK
AT+QSSLCFG="clientcert",2,"UFS:client.pem"

OK
AT+QSSLCFG="clientkey",2,"UFS:user_key.pem"

OK
AT+QMTCFG="recv/mode",0,0,1

OK
AT+QMTCFG="SSL",0,1,2

OK
AT+QMTCFG="version",0,4

OK
AT+QSSLCFG="seclevel",2,2

OK
AT+QSSLCFG="sslversion",2,4

OK
AT+QSSLCFG="ciphersuite",2,0xFFFF

OK
AT+QSSLCFG="ignorelocaltime",2,1

OK
AT+QMTOPEN=0,"<HOST_NAME>",8883

OK

+QMTOPEN: 0,5  // I am getting this response repeatedly





AT+QCSQ

+QCSQ: "LTE",73,-103,84,-11

OK
AT+QSPN

+QSPN: "Airtel","Airtel","airtel",0,"40494"

OK
AT+CIND=?

+CIND: ("battchg",(0-5)),("signal",(0-5)),("service",(0,1)),("sounder",(0,1)),("message",(0,1)),("call",(0,1)),("roam",(0,1)),("smsfull",(0,1))

OK
AT+CIND?

+CIND: 0,0,0,0,1,0,0,0

OK
AT+QENG="SERVINGCELL"

+QENG: "servingcell","NOCONN","LTE","TDD",404,94,9571F0A,450,39150,40,5,5,D76E,-103,-11,-72,79,20

OK

Hi,

I found that problem, For the problem in inside the length of the license file. Here license file contains multiple letters and contains many “\r\n” and we need to ignore the count of “\r\n” letters when we are calculate the string length…so I was mistaken to calculate that letters also
when I change the length of the license file after that my data was published…

Thanks ,