Hi,
I am using HILO NCV2 GSM modem.
Whenever i try to send very big file about 2.3 MB through UART to a https server,modem is not able to send this huge data.
How to resolve this issue ? What could be the problem ?
How much data modem can buffer at a time ?
More over how to use CTS and RTS lines for data tranmission ?
Thanks & Regards
vineet
Moreover if i send very small data like 4K bytes to the https server ,after the successful deliver of data and reponse why --EOF–Pattern-- takes time to come from the modem side
Hello,
Flow control is needed to handle big files.
CTS/RTS can be used for hardware flow control.
Please refer to the AT&K command for more details.
For your second question :
Usually the server will send a response to the module and then the module will send “OK” to the user application.
Please share the AT commands log?
Thanks
Thanks for the reply
Don’t know why --EOF–Pattern-- comes with long detail even though server has send the response.
Please find the AT logs below :
AT
OK
AT&K3
OK
AT+KCNXCFG=0,“GPRS”,“airtelgprs.com”,"",""
OK
AT+KCNXPROFILE=0
OK
AT+CGATT=1
OK
AT+KHTTPSCFG=0,“some ip”,“some port”,0,0, 1
+KHTTPSCFG: 0
OK
AT+KHTTPSHEADER=0
CONNECT
OK
AT+KHTTPSPOST=0, “some url”
CONNECT
Data through serial port…
Some response from server that data received.
After this --EOF–Pattern-- takes long time to come (almost more than 40 sec)
Hi,
It depends on the website.
The module has to wait for the END response from the website, and then send the “–EOF–Pattern–” indication.
Thanks