2.15 Query Text Mode: +CSDH ........................................................................................................ 45
2.16 Saving Settings: +CSAS .......................................................................................................... 46
3 TCP/UDP Client Commands ................................................................... 48
3.1 Setting Network APN: +NETAPN ............................................................................................... 48
3.2 Setting Up PPP Link: +XIIC ........................................................................................................ 48
3.3 Setting Up TCP Connection: +TCPSETUP ................................................................................ 49
3.4 Sending TCP Data: +TCPSEND ................................................................................................ 50
3.5 Setting Receive Mode: +RECVMODE ....................................................................................... 51
3.6 Receiving TCP Data: +TCPRECV ............................................................................................. 51
3.7 Reading TCP Data: +TCPREAD ................................................................................................ 52
3.8 Closing TCP Connection: +TCPCLOSE .................................................................................... 52
3.9 Setting Up UDP Connection: +UDPSETUP ............................................................................... 53
3.10 Sending UDP Data: +UDPSEND ............................................................................................. 54
3.11 Receiving UDP Data: +UDPRECV .......................................................................................... 54
3.12 Reading UDP Data: +UDPREAD ............................................................................................. 55
3.13 Closing UDP Connection: +UDPCLOSE ................................................................................. 55
3.14 Querying TCP/UDP Socket Status: +IPSTATUS ..................................................................... 56
3.15 Querying Status of Data Sent by TCP Socket: +TCPACK ....................................................... 56
3.16 Setting DNS Server: DNSSERVER ......................................................................................... 57
3.17 Setting PDP Keepalive Heartbeat: +PDPKEEPALIVE ............................................................. 57
3.18 Querying PDP Status: +PDPSTATUS ...................................................................................... 58
3.19 Setting TCP Keepalive Heartbeat: +TCPKEEPALIVE ............................................................. 58
4 TCP Server Commands ........................................................................... 60
4.1 Setting Listening on TCP Server: +TCPLISTEN ........................................................................ 60
4.2 Closing Listening Socket: +CLOSELISTEN ............................................................................... 61
4.3 Closing Connection to Client: +CLOSECLIENT ........................................................................ 61
4.4 Receiving Data from Client: +TCPRECV(S) .............................................................................. 62
4.5 Reading TCP Data: +TCPREADS ............................................................................................. 62
4.6 Sending Data to Client: +TCPSENDS ....................................................................................... 62
4.7 Querying Socket Status on Client: +CLIENTSTATUS ............................................................... 63
4.8 Querying Status of Data Sent by TCP Server: +TCPACKS .................................................... 64
5 Transparent TCP/UDP Commands ......................................................... 65
5.1 Setting up Transparent TCP Connection: +TCPTRANS ............................................................ 65
5.2 Setting Up Transparent UDP Connection: +UDPTRANS .......................................................... 66
5.3 Querying Status of Data Sent by Transparent TCP Socket: +TCPACK .................................... 67
5.4 Querying TCP/UDP Socket Status: +IPSTATUS ....................................................................... 67
5.5 Closing Transparent Socket: +TRANSCLOSE .......................................................................... 68
6 Transparent TCP Server Commands ...................................................... 69
6.1 Setting Transparent TCP Listening: +TCPSRVTRANS ............................................................. 69
6.2 Querying Socket Status on Client: +CLIENTSTATUS ............................................................... 70
7 FTP Commands ...................................................................................... 71
7.1 Logging in to FTP Server: +FTPLOGIN ..................................................................................... 71
7.2 Logging Out from FTP Server: +FTPLOGOUT .......................................................................... 72
7.3 Downloading Data from FTP Server: +FTPGET ........................................................................ 72
7.4 Uploading Data to FTP Server: +FTPPUT ................................................................................. 74
7.5 Querying FTP Link Status: +FTPSTATUS ................................................................................. 75