SIM5300E AT Command Manual V1.02
Test Command
AT+CIPSHUT=?
Response
OK
Execution Command
AT+CIPSHUT
Response
If close is successful:
SHUT OK
If close fails:
+CME ERROR: <err>
Reference
Note
If this command is executed in multi-connection mode,
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.
7.2.8 AT+CLPORT Set Local Port
AT+CLPORT Set Local Port
Test Command
AT+CLPORT=?
Response
1) For single IP connection (+CIPMUX=0)
+CLPORT: ("TCP","UDP"),(0-65535)
OK
2) For multi IP connection (+CIPMUX=1)
+CLPORT: (0-7),("TCP","UDP"),(0-65535)
OK
Read Command
AT+CLPORT?
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>