Smart Machine Smart Decision
SIM7000 Series_AT Command Manual_V1.03 129 2018-05-08
should be:
TCP CONNECTING, UDP CONNECTING, SERVER LISTENING or
CONNECT OK in single-connection mode (see <state> parameter);
CONNECTING or CONNECTED in multi-connection mode (see <client
state>);
OPENING or LISTENING in multi-connection mode (see <server state>).
Otherwise it will return "ERROR".
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
If close fails:
ERROR
Mode
NO_SAVE
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
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