WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
iv
9.8 Closing TCP Connection: +TCPCLOSE .................................................................................... 86
9.9 Setting Up UDP Connection: +UDPSETUP ............................................................................... 86
9.10 Sending UDP Data: +UDPSEND ............................................................................................. 88
9.11 Receiving UDP Data: +UDPRECV .......................................................................................... 88
9.12 Closing UDP Connection: +UDPCLOSE ................................................................................. 89
9.13 Querying TCP/UDP Connection Status: +IPSTATUS .............................................................. 90
9.14 Reading Buffered TCP/UDP Data: +IPNETREAD ................................................................... 90
9.15 Data Incoming Report: +IPURCREAD ..................................................................................... 92
9.16 Querying the Status of Data Sent by the TCP Socket: +TCPACK ........................................... 93
9.17 Setting Local TCP Port: +TCPPORT ....................................................................................... 94
9.18 Setting Local UDP Port: +UDPPORT ...................................................................................... 95
9.19 Setting Socket Timeout Parameter: +SSTP ............................................................................. 95
10 PPP Heartbeat Packet Commands ...................................................... 97
10.1 Enabling PPP Heartbeat Function: + PKEEPALIVE ................................................................ 97
10.2 Setting PPP Heartbeat Interval: + IPTIMER ............................................................................ 98
11 DNS Command .................................................................................... 99
11.1 Querying the IP Address: +DNS .............................................................................................. 99
12 ICMP Protocol Command ................................................................... 100
12.1 PING Function: +PING ........................................................................................................... 100
13 FTP AT Commands ............................................................................ 102
13.1 Logging In to the FTP Server: +FTPLOGIN ........................................................................... 102
13.2 Logging Out from the FTP Server: +FTPLOGOUT ................................................................ 103
13.3 Downloading Data from the FTP Server: +FTPGET .............................................................. 104
13.4 Uploading Data from the FTP Server: +FTPPUT .................................................................. 106
13.5 Querying FTP Connection Status: +FTPSTATUS .................................................................. 107
14 TCP Server AT Commands ................................................................ 108
14.1 Obtaining the Local IP Address: +GETIP ............................................................................... 108
14.2 Setting TCP Listening for the Server: +TCPLISTEN ............................................................. 108
14.3 Closing the Listening Socket: +CLOSELISTEN ..................................................................... 109
14.4 Closing Client Socket: +CLOSECLIENT ................................................................................. 110
14.5 Receiving Data from the Client: +TCPRECV(S) ..................................................................... 111
14.6 Sending Data to the Client: +TCPSENDS .............................................................................. 111
14.7 Querying the Socket Status on the Client: +CLIENTSTATUS ................................................ 112
15 UDP Server AT Commands ................................................................ 113
15.1 Setting UDP Listening for the Server: +UDPLISTEN .............................................................. 113
15.2 Closing the Listening Socket: +CLOSEUDPLISTEN .............................................................. 114
15.3 Closing Client Socket: +CLOSEUDPCLIENT ......................................................................... 114
15.4 Receiving Data from the Client: +UDPRECV(S) ..................................................................... 115
15.5 Sending Data to the Client: +UDPSENDS .............................................................................. 115
15.6 Querying the Socket Status on the Client: +UDPCLIENTSTATUS......................................... 116
16 Unlimited UDP Server AT Commands ................................................ 118
16.1 Setting UDP Listening for Server: +FUDPLISTEN ................................................................. 118
16.2 Receiving Data from the Client: +FUDPRECV(S) .................................................................. 119
16.3 Sending Data to the Client: +FUDPSENDS ............................................................................ 119
16.4 Closing Listening for UDP Server: +CLOSEFUDPLISTEN ................................................... 120