AirPrime and HL7548 AT Commands Interface Guide Rev10 0

Table Of Contents
4116303 Rev 10.0 August 10, 2017 300
AT Commands Interface Guide
Appendix
16.7.2.2. Use Case when FTP Server does not Support the
Resume Feature
AT+KCNXCFG=1,"GPRS","CMNET"
OK
AT+KFTPCFG=1,"202.170.131.76","administrator","8ik,
(OL>",21,0
+KFTPCFG: 1
OK
AT+KFTPRCV=1,,,"111111.txt",0
CONNECT
750aaaaaaaaa….. aaaaa250bbbbbbb--EOF--Pattern--
Total of 760 data from the serial link
+KFTP_ERROR: 1,421
The result code indicates that the download
met with some problems which may be due
to control or data connection lost
AT+KFTPRCV=1,,,"111111.txt",0,760
CONNECT
--EOF--Pattern--
+KFTP_ERROR: 1,502
ERROR 502 means that some commands in
the procedure are not supported by the
server
16.8. HTTP Commands Usage Examples
AT&K3
OK
AT+KCNXCFG=1,"GPRS","APN","log","password",”0.0.0.0”,
”0.0.0.0”,”0.0.0.0”
OK
AT+KCNXTIMER=1,60,2,70
OK
AT+KHTTPCFG=1,"www.google.com",80,1 +KHTTPCFG: 1
OK
AT+KHTTPHEADER=1
CONNECT
Accept : text/html
If-Modified-Since : Saturday, 15-January-2000 14:37:11 GMT
OK
AT+KHTTPGET=1, "/index.html"
CONNECT
HTTP/1.0 200 OK
Cache-Control: private, max-age=0
Date: Tue, 24 Jun 2008 02:11:35 GMT
Expires: -1
Content-Type: text/html; charset=ISO-8859-1
Hardware flow control activation
Set GPRS parameters (APN, login, password,
etc.)
Set Timers
Set HTTP address, port number and http
version
Set the header of the request
Send HTTP data after “CONNECT”.
The data should be ended with the EOF string.
Get the web page
HTTP server response