Data Sheet

Smart Machine Smart Decision
Command If close is successful:
AT+CIPSHUT SHUT OK
If close fails:
ERROR
Parameter Saving NO_SAVE
Mode
Max Response 65 seconds
Time
Reference Note
If this command is executed in multi-connection mode, all of the IP
connection will be shut.
User can close gprs pdp context by AT+CIPSHUT. After it is closed, the
status is IP INITIAL.
If "+PDP: DEACT" urc is reported which means the gprs is released by the
network, then user still needs to execute "AT+CIPSHUT" command to
make PDP context come back to original state.
8.2.8 AT+CLPORT Set Local Port
AT+CLPORT Set Local Port
Response
1) For single IP connection (+CIPMUX=0)
+CLPORT: ("TCP","UDP"),(0-65535)
OK
2) For multi IP connection (+CIPMUX=1)
+CLPORT: (0-5),("TCP","UDP"),(0-65535)
OK
Test Command
AT+CLPORT=?
Parameters
See Write Command
Read Command Response
AT+CLPORT?
1) For single IP connection (+CIPMUX=0)
+CLPORT: <TCP port>,<UDP port>
OK
2) For multi IP connection (+CIPMUX=1)
+CLPORT: 0,<TCP port>,<UDP port>
+CLPORT: 1,<TCP port>,<UDP port>
+CLPORT: 2,<TCP port>,<UDP port>
+CLPORT: 3,<TCP port>,<UDP port>
+CLPORT: 4,<TCP port>,<UDP port>
+CLPORT: 5,<TCP port>,<UDP port>
SIM800 Series_AT Command Manual_V1.05 219 2014-07-31