Data Sheet

Smart Machine Smart Decision
SIM800 Series_AT Command Manual_V1.09 227 2015-08-03
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
Response
If close is successfully:
CLOSE OK
If close fails:
ERROR
Parameter Saving
Mode
NO_SAVE
Max Response
Time
-
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