SIM900 IP APPLICATION
3.7 Set HTTP Download Break Point Parameter
Demonstration
Init http service
Set parameters for HTTP session
Set the URL, the size of gif is 16384
bytes
Set the wrong URL
GET session start, get data from
2000 to 16384
GET successfully
Read the data of HTTP server
Terminate http service
3.8 FTP GET
Demonstration
Set parameters for FTP session
Open the FTP get session
Data are available
SIM900 IP APPLICATION
Syntax
AT+HTTPINIT
AT+HTTPPARA = "CID",1
AT+HTTPPARA = "URL","
http://www.sim.com/img/sim_logo_j
r_1003_38.gif"
AT+HTTPPARA = "BREAK",2000
AT+HTTPACTION=0
AT+HTTPREAD
AT+HTTPTERM
Syntax
AT+FTPCID=1
AT+FTPSERV="116.228.221.52"
AT+FTPUN="sim.cs1"
AT+FTPPW="******"
AT+FTPGETNAME="1K.txt"
AT+FTPGETPATH="/"
AT+FTPGET=1
31
Expect Result
OK
OK
OK
OK
OK
+HTTPACTION:0, 200,14384
+HTTPREAD: 14384
....
//output the data to uart
OK
OK
Expect Result
OK
OK
OK
OK
OK
OK
OK
+FTPGET:1,1
Need help?
Do you have a question about the SIM900B and is the answer not in the manual?