Smart Machine Smart Decision
SIM7000 Series_AT Command Manual_V1.03 130 2018-05-08
Parameters
See Write Command
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>
+CLPORT: 6,<TCP port>,<UDP port>
+CLPORT: 7,<TCP port>,<UDP port>
OK
Parameters
See Write Command
1) For single IP
connection
(+CIPMUX=0)
AT+CLPORT=<
mode>,<port>
2) For multi IP
connection
(+CIPMUX=1)
AT+CLPORT=<
n>,<mode>,<por
t>
OK
Parameters
<n> 0..7 A numeric parameter which indicates the connection
number this used in multi IP connection
<mode> A string parameter which indicates the connection type
"TCP" TCP local port
"UDP" UDP local port
<port> 0-65535 A numeric parameter which indicates the local port.
Default value is 0, a port can be dynamically allocated a port.
Mode
NO_SAVE
Time
-
Reference
Note
This command will be effective when module is set as a Client.
8.2.9 AT+CSTT Start Task and Set APN, USER NAME, PASSWORD
AT+CSTT Start Task and Set APN, USER NAME, PASSWORD