Specifications
Smart Machine Smart Decision
SIM900_AT Commands Manual_V1.07 191 2012.12.10
If close fails:
ERROR
Reference
Note
z If this command is executed in multi-connection mode, all of the IP
connection will be shut.
z User can close gprs pdp context by AT+CIPSHUT. After it is closed,
the status is IP INITIAL.
z 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
+CLPORT: (list of supported <port>s)
OK
Test Command
AT+CLPORT=?
Parameters
See Write Command
Response
TCP: <port>
UDP: <port>
OK
Read Command
AT+CLPORT?
Parameters
See Write Command
Response
OK
ERROR
Write Command
AT+CLPORT=<
mode>,<port>
Parameters
<mode> A string parameter(string should be included in quotation
marks) which indicates the connection type
"TCP" TCP local port
"UDP" UDP local port
<port> 0-65535 A numeric parameter which indicates the local port
0 is default value, a port can be dynamically allocated a port.
Reference
Note
This command will be effective only in single connection mode
(+CIPMUX=0) and when module is set as a Client