Smart Machine Smart Decision
SIM7500_SIM7600 Series_AT Command Manual_V1.07 2017-12-25
The peer port for channel, the range is from 1 to 65535
1 – TCP client.
2 – SSLv3.0/TLSv1.0 client.
<bind_port>
The local port for channel, the range is from 1 to 65535
The result code of the opening common channel. 0 is success. Other values are failure.
Examples
AT+CCHOPEN=0, ”www.myserver.com”,443,2
OK
+CCHOPEN: 0 0
AT+CCHOPEN=0, ”www.myserver.com”,443,1
OK
+CCHOPEN: 0,0
15.9.4 AT+CCHCLOSE Close a channel
Description
This command is used to disconnect from peer.
SIM PIN References
Syntax
Write Command Responses
AT+CCHCLOSE=<session_
id>
OK
+CCHCLOSE: <session_id>,<err>
+CCHCLOSE: <session_id>,<err>
Defined values
The session index to operate. It’s from 0 to 1.
<err>
The result code of the closing common channel. 0 is success. Other values are failure.