Smart Machine Smart Decision
// Set the authentication mode(only verify client) of the first SSL context
AT+CSSLCFG="authmode",0,3
OK
// Set the client certificate of the first SSL context
AT+CSSLCFG="clientcert",0,"cert.pem"
OK
// Set the client key of the first SSL context
AT+CSSLCFG="clientkey",0,"key_cert.pem"
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
Content-Length: 0
OK
+CCHSEND: 0,0
//report the received data from server
SIM7500_SIM7600_SIM7800 Series_SSL_AT Command Manual
29 / 36
Need help?
Do you have a question about the SIM7600 Series and is the answer not in the manual?
Questions and answers