Access To Ssl/Tls Server In Transparent Mode - SimCom SIM7600 Series Command Manual

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

Advertisement

Smart Machine Smart Decision

3.6 Access to SSL/TLS server in transparent mode

Following commands shows how to access to a SSL/TLS server with not verifying the server in transparent mode.
It needs to configure the sending and receiving mode to 1(the transparent mode).
Only the session 0 is support the transparent mode.
// Set the transparent mode
AT+CCHMODE=1
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
CONNECT 115200
//send data to server
GET / HTTP/1.1
Host: www.baidu.com
User-Agent: MAUI htp User Agent
Proxy-Connection: keep-alive
Content-Length: 0
//report the received data from server
HTTP/1.1 200 OK
Accept-Ranges: bytes
Cache-Control: no-cache
Connection: Keep-Alive
Content-Length: 227
Content-Type: text/html
Date: Tue, 04 Sep 2018 06:26:03 GMT
Etag: "5b7b7f40-e3"
SIM7500_SIM7600_SIM7800 Series_SSL_AT Command Manual
31 / 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