Specifications

Smart Machine Smart Decision
SIM900_AT Commands Manual_V1.07 190 2012.12.10
Reference
Note
8.2.6 AT+CIPCLOSE Close TCP or UDP Connection
AT+CIPCLOSE Close TCP or UDP Connection
Test Command
AT+CIPCLOSE
=?
Response
OK
Response
1) For single IP connection (+CIPMUX=0)
CLOSE OK
2) For multi IP connection (+CIPMUX=1)
<id>, CLOSE OK
Write Command
1) If single IP
connection
(+CIPMUX=0)
AT+CIPCLOSE
=[<n>]
2) If multi IP
connection
(+CIPMUX=1)
AT+CIPCLOSE
=<id>, [<n>]
Parameters
<n> 0 Slow close
1 Quick close
<id> A numeric parameter which indicates the connection number
Execution
Command
AT+CIPCLOSE
For single IP connection only (+CIPMUX=0)
Response
If close is successfully:
CLOSE OK
If close fails:
ERROR
Reference
Note
AT+CIPCLOSE only closes connection at the status of TCP/UDP which
returns CONNECTING or CONNECT OK, otherwise it will return
ERROR, after the connection is closed, the status is IP CLOSE in single IP
mode.
8.2.7 AT+CIPSHUT Deactivate GPRS PDP Context
AT+CIPSHUT Deactivate GPRS PDP Context
Test Command
AT+CIPSHUT=?
Response
OK
Execution
Command
AT+CIPSHUT
Response
If close is successful:
SHUT OK