5.3 AT+CGATT–Setting GPRS Attach and Detach ........................................................................ 44
5.4 +IPADDR–Reporting IP Address .............................................................................................. 45
5.5 +CSCON–Reporting RRC Status ............................................................................................. 46
5.6 +PSMEVENT–Reporting PSM Status ...................................................................................... 47
5.7 AT+RRCRLSREQ–Releasing RRC Connection....................................................................... 47
6 TCP/UDP Client Commands ................................................................... 49
6.1 AT+RECVMODE–Setting Receive Mode ................................................................................. 49
6.2 AT+TCPKEEPALIVE–Setting Keepalive Heartbeat .................................................................. 50
6.3 AT+TCPSETUP–Setting Up TCP Connection .......................................................................... 51
6.4 AT+TCPSEND–Sending TCP Data .......................................................................................... 52
6.5 AT+TCPACK–Querying Status of Data Sent ............................................................................ 54
6.6 +TCPRECV–Unsolicited TCP Data Output .............................................................................. 55
6.7 AT+TCPREAD–Reading TCP Data .......................................................................................... 56
6.8 AT+TCPCLOSE–Closing TCP Connection .............................................................................. 56
6.9 AT+UDPSETUP–Setting Up UDP Connection ......................................................................... 57
6.10 AT+UDPSEND–Sending UDP Data ....................................................................................... 59
6.11 AT+UDPRECV–Unsolicited UDP Data Ouput ........................................................................ 60
6.12 AT+UDPREAD–Reading UDP Data ....................................................................................... 61
6.13 AT+UDPCLOSE–Closing UDP Connection ............................................................................ 61
6.14 AT+IPSTATUS–Querying TCP/UDP Socket Status ................................................................ 62
7 Transparent TCP/UDP Commands ......................................................... 64
7.1 AT+TCPTRANS–Setting Up Transparent TCP Connection ..................................................... 64
7.2 AT+UDPTRANS–Setting Up Transparent UDP Connection .................................................... 65
7.3 AT+TRANSCLOSE–Closing Transparent Socket..................................................................... 66
7.4 AT+IPSTATUS–Querying TCP/UDP Socket Status .................................................................. 67
8 TCP Server Commands ........................................................................... 69
8.1 AT+TCPLISTEN–Setting TCP Listening on the Server ............................................................ 69
8.2 AT+ CLOSELISTEN–Closing the Listening Socket .................................................................. 70
8.3 AT+CLOSECLIENT–Closing Connections with the Client ....................................................... 70
8.4 +TCPRECV(S)–Receiving Data from the Client ...................................................................... 71
8.5 AT+TCPSENDS–Sending Data to the Client ............................................................................ 72
9 FTP AT Commands ................................................................................. 74
9.1 AT+FTPLOGIN–Logging in to the FTP Server ......................................................................... 74
9.2 AT+FTPLOGOUT–Logging Out from the FTP Server .............................................................. 75
9.3 AT+FTPSIZE–Obtaining File Size on FTP Server .................................................................... 75
9.4 AT+FTPGET–Downloading Data from the FTP Server ............................................................ 76
9.5 AT+FTPPUT–Uploading Data to the FTP Server: .................................................................... 78
9.6 AT+FTPSTATUS–Querying FTP Connection Status ................................................................ 79
10 HTTP Commands .................................................................................. 81
10.1 AT+HTTPPARA–Setting HTTP Parameters ........................................................................... 81
10.2 AT+HTTPSETUP–Setting Up HTTP Connection ................................................................... 82
10.3 AT+HTTPACTION–Executing HTTP Request ........................................................................ 82