EC25, throwing CME 711 error after AT+QHTTPURL command issue

Hi All,
I am facing an issue with EC25. I’m trying HTTP Post request. I am using puTTY to communicate serially with EC25 [connected to PC using a USB to serial converter].

ATI

Quectel
EC25
Revision: EC25EFAR06A04M4G

OK
AT+QHTTPCFG=“requestheader”,1
AT+QHTTPCFG=“requestheader”,1

OK
AT+QIACT?
AT+QIACT?

OK
AT+QICSGP=1,1,“airtelgprs.com”,"","",3

OK
AT+QIACT=1
AT+QIACT=1

OK
AT+QIACT?
AT+QIACT?

+QIACT: 1,1,1,“100.83.85.218”

OK
AT+QHTTPURL=68,80
AT+QHTTPURL=68,80

CONNECT
http://beta…(link)

+CME ERROR: 711

Please let me know, where I am going wrong. [I’m also not sure why module is responding on 2 AT commands]

Regards,
Kamlesh

Dear Kamlesh Bharodiya,
Thanks for your inquiry in Quectel forum. Please check the following answer to your question. Thanks!
As you know that the error code 711 means that HTTP URL error. So please check whether the URL you used is correct, or check the length of the URL you enter is correct. Thanks!
image

Hi @Kyson,
Thanks for your response.
I have set the byte-length in the QHTTPURL command equal to ‘number of characters in the url’. I am trying different urls like “http://api.efxnow.com/DEMOWebServices2.8/Service.asmx/Echo”. Also I am attaching a puttylog and explanation. Please let me know where I am going wrong.

Regards,
Kamlesh

Dear Kamlesh Bharodiya,
I have test it with the URL you provided, it is ok. Please check the following test AT log. Thanks!
image

Could you have a try to use the common test tool like QCOM,do not use putty. Thanks!
https://cnquectel-my.sharepoint.com/:u:/g/personal/asean-fae_quectel_com/ETKHg6c1CAtFgLFJd47xyFwB_BWKGqCmaB2aBUWmJNxFJA?e=ans6np

Hi @Kyson,

Thanks for your quick responses. I tried the same with the tool you provided. Same issue replicated in QCOM also:

  1. The Module responds when I click on send command ‘twice’ . I don’t understand it.
  2. When I write QHTTPURL command in ‘input string’ section and click on send command ‘twice’. ‘CONNECT’ response appears. Now, I type the http link of the "echo server’’ [58 characters] and Click on "Send Command’’ once.
  3. After some time, it gives 702(timeout) error.
  4. I again type the QHTTPURL command and click on send command ‘twice’
  5. ‘CONNECT’ comes as response and I type the same link. Press ‘Send Command’ twice. error 711

Connections: PC->USB Cable -> USB to Serial Converter [voltage levels at 5 or 3.3V] -> connected to Rx and Tx pins [67 and 68 of EC25] through a voltage translator TXS0108E [to convert voltage levels to 1.8V].

Could you provide some ideas, why I have to provide the same command 2 times to get response? I feel, this is the issue.

Regards,
Kamlesh

Dear Kamlesh Bharodiya,
I have test it in my side, the module and the URL are all have no problem, and do not need to send two times. So for your issue, how about to change the connection to the following direction to have a try ?
PC->USB Cable -> EC25 USB port

Dear Kyson,

We have designed a PCB on which this module sits. The PCB doesn’t expose the USB interface of the Module. So, It won’t be possible for me to try the commands as you suggested.
Do you see any other issue in the connections/serial configuration/command character composition?

Regards,
Kamlesh

Hi @Kyson,

We were able to resolve the issue. We forgot to supply 3.3V reference voltage to 3.3-1.8V level shifter (TXS0108E). Thanks for your support.

Regards,
Kamlesh

Dear Kamlesh Bharodiya,
Got it. You can go on your test. If you need any technical support, please do not hesitate to contact Quectel. Thanks!

Hello, we are using EC20 module and facing issue with CME 705 error for http post request.
Here are the at command logs for the same

RDY



+CFUN: 1



+CPIN: READY



+QUSIM: 1



+QIND: SMS DONE



+QIND: PB DONE

ATI


Quectel

EC20F

Revision: EC20CEFAGR06A15M4G



OK

AT+CPIN?


+CPIN: READY



OK

AT+QSIMSTAT?


+QSIMSTAT: 0,1



OK

AT+QNWINFO


+QNWINFO: "FDD LTE","40405","LTE BAND 1",540



OK

AT+QHTTPCFG="requestheader",1


OK

AT+QHTTPCFG="sslctxid",1


OK

AT+QSSLCFG="sslversion",1,1


OK

AT+QSSLCFG="ciphersuite",1,0x0005


OK

AT+QSSLCFG="seclevel",1,0


OK

AT+QHTTPCFG="contextid",1


OK

AT+QHTTPCFG="responseheader",1


OK

AT+QICSGP=1,1,"www","","",1


OK

AT+QIACT?


OK

AT+QIACT=1


OK

AT+QIACT?


+QIACT: 1,1,1,"10.89.156.129"



OK

AT+QHTTPURL=118,80


CONNECT



OK

AT+QHTTPPOST=139,80,80


+CME ERROR: 701

attery?terminal=68:C6:3A:D6:F7:BD&percentage=87&timestamp=00:57:13,28_01_00 HTTP/1.1


ERROR

AT+QHTTPREAD=80


+CME ERROR: 705