Copyright © Neoway Technology Co., Ltd
3 TCP/UDP Client Commands .................................................................. 39
3.1 Setting Network APN: +NETAPN ............................................................................................... 39
3.2 Setting Up a PPP Link: +XIIC .................................................................................................... 39
3.3 Setting Receive Mode: +RECVMODE ....................................................................................... 40
3.4 Setting Up TCP Link: +TCPSETUP ........................................................................................... 41
3.5 Sending TCP Data: +TCPSEND ................................................................................................ 42
3.6 Receiving TCP Data: +TCPRECV ............................................................................................. 43
3.7 Reading TCP Data: +TCPREAD ................................................................................................ 43
3.8 Closing TCP Link: +TCPCLOSE ................................................................................................ 44
3.9 Setting Up UDP Link: +UDPSETUP .......................................................................................... 44
3.10 Sending UDP Data: +UDPSEND ............................................................................................. 45
3.11 Receiving UDP Data: +UDPRECV .......................................................................................... 46
3.12 Reading UDP Data: +UDPREAD ............................................................................................. 47
3.13 Closing UDP Link: +UDPCLOSE ............................................................................................. 47
3.14 Querying TCP/UDP Link Status: +IPSTATUS .......................................................................... 48
3.15 Querying the Status of Data Sent by the TCP Link: +TCPACK ............................................... 48
4 TCP Server AT Commands .................................................................... 50
4.1 Setting TCP Listening for the Server: +TCPLISTEN.................................................................. 50
4.2 Closing the Listening Connection: +CLOSELISTEN ................................................................. 51
4.3 Closing Connections with the Client: +CLOSECLIENT ............................................................. 51
4.4 Receiving Data from the Client: +TCPRECV(S) ........................................................................ 52
4.5 Sending Data to the Client: +TCPSENDS ................................................................................. 52
4.6 Querying the Connection Status on the Client: +CLIENTSTATUS ............................................ 53
4.7 Querying the Status of Data Sent by the TCP Link: +TCPACK ................................................. 54
5 Transparent TCP/UDP Commands ......................................................... 55
5.1 Setting Up Transparent TCP Link: +TCPTRANS ....................................................................... 55
5.2 Setting Up Transparent UDP Link: +UDPTRANS ...................................................................... 56
5.3 Querying the Status of Data Sent by the TCP Link: +TCPACK ................................................. 57
5.4 Querying TCP/UDP Link Status: +IPSTATUS ............................................................................ 58
5.5 Closing Transparent Link: +TRANSCLOSE ............................................................................... 58
6 TCP Transparent Server Commands ...................................................... 60
6.1 Setting Transparent Listening for the TCP: +TCPSRVTRANS .................................................. 60
6.2 Querying the Link Status on the Client: +CLIENTSTATUS ........................................................ 61
7 FTP AT Commands ................................................................................ 62
7.1 Logging in to the FTP Server: +FTPLOGIN ............................................................................... 62
7.2 Logging Out from the FTP Server: +FTPLOGOUT .................................................................... 63
7.3 Downloading Data from the FTP Server: +FTPGET .................................................................. 63
7.4 Uploading Data to the FTP Server: +FTPPUT ........................................................................... 65
7.5 Querying FTP Link Status: +FTPSTATUS.................................................................................. 66
8 HTTP Commands ................................................................................... 68
8.1 Setting HTTP Parameters:+HTTPPARA .................................................................................... 68
8.2 Setting Up HTTP Link:+HTTPSETUP ........................................................................................ 69
8.3 HTTP Request:+HTTPACTION.................................................................................................. 69
8.4 Closing HTTP Link: +HTTPCLOSE ........................................................................................... 73
8.5 Receiving HTTP Data: +HTTPRECV ......................................................................................... 73
8.6 HTTP Link Closing: +HTTPCLOSED ......................................................................................... 74