SIM900 IP APPLICATION
SIM900 IP APPLICATION
5
Contents
Version history 4
1. Introduction 7
1.1 Scope of the document..........................................................................................................................7
1.2 Related documents................................................................................................................................7
1.3 Conventions and abbreviations..............................................................................................................7
2. AT commands 8
2.1 AT+SAPBR..........................................................................................................................................8
2.2 Internet HTTP Service Commands........................................................................................................9
2.2.1 AT+HTTPINIT........................................................................................................................9
2.2.2 AT+HTTPTERM....................................................................................................................10
2.2.3 AT+HTTPPARA.....................................................................................................................10
2.2.4 AT+HTTPDATA....................................................................................................................12
2.2.5 AT+HTTPACTION................................................................................................................12
2.2.6 AT+HTTPREAD....................................................................................................................14
2.3 FTP AT Commands.............................................................................................................................15
2.3.1 AT+ FTPPORT.................................................................................................................................15
2.3.2 AT+ FTPMOD..................................................................................................................................16
2.3.3 AT+FTPTYPE..................................................................................................................................17
2.3.4 AT+FTPPUTOPT..............................................................................................................................17
2.3.5 AT+FTPCID.....................................................................................................................................18
2.3.6 AT+FTPREST..................................................................................................................................19
2.3.7 AT+FTPSERV..................................................................................................................................20
2.3.8 AT+FTPUN......................................................................................................................................20
2.3.8 AT+FTPPW......................................................................................................................................21
2.3.9 AT+ FTPGETNAME........................................................................................................................22
2.3.10 AT+FTPGETPATH.........................................................................................................................23
2.3.11 AT+FTPPUTNAME........................................................................................................................23
2.3.12 AT+FTPPUTPATH..........................................................................................................................24
2.3.13 AT+FTPGET..................................................................................................................................25
2.3.14 AT+FTPPUT...................................................................................................................................26
3. Examples 27
3.1 Bearer profile.....................................................................................................................................27
3.2 HTTP GET method ...........................................................................................................................28
3.3 HTTP POST method .........................................................................................................................28
3.4 HTTP HEAD method ........................................................................................................................29
3.5 Set Proxy HTTP Server.....................................................................................................................29
3.6 Set HTTP Redirection Parameter......................................................................................................30
3.7 Set HTTP Download Break Point Parameter....................................................................................31
3.8 FTP GET ...........................................................................................................................................31
3.9 FTP PUT............................................................................................................................................32
3.10 FTP TIME OUT ..............................................................................................................................33