Manual
     Smart Machine Smart Decision 
SIM800 Series_AT Command Manual_V1.09  228  2015-08-03 
If close fails: 
ERROR 
Parameter Saving 
Mode 
NO_SAVE 
Max Response 
Time 
65 seconds 
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 
Response 
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> 
OK 
Read Command 
AT+CLPORT? 
Parameters 










