
Chapter 3 – IP Protocol Services
Multi-Tech Systems, Inc. IP Connectivity AT Commands for GPRS-F4 Wireless Modems (PN S000437C) 20
Closing a Service +WIPCLOSE Continued
Examples:
Command Responses
AT+WIPCLOSE=1,1
Note: Close UDP socket with communication
index 1
OK
Note: An unsolicited event +WIPPEERCLOSE: 1,1 is
received once the UDP socket is closed
AT+WIPCLOSE=2,1
Note: Close TCP client with communication
index 1
OK
Note: An unsolicited event +WIPPEERCLOSE: 2,1 is
received once the TCP client is closed
AT+WIPCLOSE=3,1
Note: Close TCP server with communication
index 1
OK
Note: An unsolicited event +WIPPEERCLOSE: 3,1 is
received once the TCP server is closed
AT+WIPCLOSE=4,1
Note: Close FTP session with index 1
OK
Note: An unsolicited event +WIPPEERCLOSE: 4,1 is
received once the FTP session is closed
Notes:
Sockets will be closed only on issuing +WIPCLOSE command and the closure of the socket is indicated
by +WIPPEERCLOSE:
• <protocol>, <idx> unsolicited response.
After issuing +WIPCLOSE command, no more data can be sent and received over the socket.
Kommentare zu diesen Handbüchern