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
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!
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.
Thanks for your quick responses. I tried the same with the tool you provided. Same issue replicated in QCOM also:
The Module responds when I click on send command ‘twice’ . I don’t understand it.
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.
After some time, it gives 702(timeout) error.
I again type the QHTTPURL command and click on send command ‘twice’
‘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.
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
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?
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×tamp=00:57:13,28_01_00 HTTP/1.1
ERROR
AT+QHTTPREAD=80
+CME ERROR: 705