
Chapter 3 – IP Protocol Services
Multi-Tech Systems, Inc. IP Connectivity AT Commands for GPRS-F4 Wireless Modems (PN S000437C) 19
Closing a Service +WIPCLOSE
Description: The +WIPCLOSE command is used to close a socket or FTP session. When one
serial port (UART or CMUX DLCI) is used to map a socket for read/write
operations, an [ETX] character can also be used to close the socket.
An unsolicited event is generated, when socket or FTP session is closed.
Description Notes:
• The SIM card must be inserted in order to use this command.
• The PIN 1/ CHV 1 code must be entered in order to use this command.
• The PIN 2/CHV 2 code does not have to be entered in order to use this
command.
• The +WIND general indication command value from which +WIPCREATE is
allowed is 4. This value (4) indicates that the product is ready to process AT
commands (except phonebooks, AOC, SMS), but is still in emergency mode.
See Appendix A – GSM/GPRS +WIND AT Command.
Syntax: AT+WIPCLOSE=<protocol>,<idx>
Read Command: AT+WIPCLOSE?
Test Command: AT+WIPCLOSE=?
Unsolicited Response: +WIPPEERCLOSE: <protocol>,<idx>
Parameters/Defined Values:
<protocol>: protocol type
1 UDP
2 TCP client
3 TCP server
4 FTP
<idx>: socket identifier
Parameter Storage: None
Possible Errors:
“+CMEE” AT error code Description
802 not enough memory
803 operation not allowed in the current WIP stack state
830 bad index
831 bad state
834 not implemented
837 bad protocol
Comentarios a estos manuales