Access To Ssl/Tls Server (Not Verify Server And Client) - SimCom SIM7600 Series Command Manual

Lte module
Hide thumbs Also See for SIM7600 Series:
Table of Contents

Advertisement

Smart Machine Smart Decision
AT+CCHSTOP
OK
+CCHSTOP: 0

3.2 Access to SSL/TLS server (not verify server and client)

Following commands shows how to access to a SSL/TLS server without verifying the server. It needs to configure
the authentication mode to 0, and then it will connect to the server successfully.
// Set the SSL version of the first SSL context
AT+CSSLCFG="sslversion",0,4
OK
// Set the authentication mode(not verify server) of the first SSL context
AT+CSSLCFG="authmode",0,0
OK
// Enable reporting +CHSEND
result
AT+CCHSET=1
OK
// start SSL service, activate PDP context
AT+CCHSTART
OK
+CCHSTART: 0
// Set the first SSL context to be used in the SSL connection
AT+CCHSSLCFG=0,0
OK
//connect to SSL/TLS server
AT+CCHOPEN=0,"www.baidu.com", 443,2
OK
+CCHOPEN: 0,0
//send data to server
AT+CCHSEND=0,121
>GET / HTTP/1.1
Host: www.baidu.com
User-Agent: MAUI htp User Agent
Proxy-Connection: keep-alive
SIM7500_SIM7600_SIM7800 Series_SSL_AT Command Manual
22 / 36

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the SIM7600 Series and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Sim7500 seriesSim7800 series

Table of Contents

Save PDF