Defined Values
<session_id>
<host>
<port>
<client_type>
<bind_port>
<text>
<err>
2.2.8 AT+CCHCLOSE Disconnect from server
AT+CCHCLOSE is used to disconnect from the server .
AT+CCHCLOSE Disconnect from the Server
Write Command
AT+CCHCLOSE=<session_id>
SIM7500_SIM7600_SIM7800 Series_SSL_AT Command Manual
OK
b)If connect successfully:
OK
+CCHOPEN: <session_id>,0
c)If connect successfully in transparent mode:
CONNECT [<text>]
d)If failed:
OK
+CCHOPEN: <session_id>,<err>
e)If failed:
ERROR
f)If failed in transparent mode:
CONNECT FAIL
The session index to operate. It's from 0 to 1.
The server address, maximum length is 256 bytes.
The server port which to be connected, the range is from 1 to
65535.
The type of client:
1
– TCP client.
2 – SSL/TLS client.
The local port for channel, the range is from 1 to 65535.
CONNECT result code string; the string formats please refer
ATX/AT\V/AT&E command.
The result code: 0 is success. Other values are failure. Please
refer to chapter 2.3.1
Response
a)If successfully:
+CCHCLOSE: <session_id>,0
OK
Smart Machine Smart Decision
15 / 36
Need help?
Do you have a question about the SIM7600 Series and is the answer not in the manual?