Cinterion
®
EHS6 AT Command Set
10.15 Examples of how to Configure and Use Internet Service Profiles
EHS6_ATC_V03.001
15/12/3
Confidential / Released
Page 279 of 513
10.15.16
HTTP Download Using TLS
Configure the service profile 4 for HTTPS:
Opening connection:
10.15.17
HTTP Post
Configure the service profile 6 for HTTP:
OK
^SISW: 2,1
URC indicates that the FTP service is ready to trans-
fer more data.
AT^SISW=2,0,1
No more data available.
set. File "new-
data.txt" shall be closed on FTP server.
^SISW: 2,0,0
OK
^SIS: 2,0,2100,"226 Transfer complete."
^SISW: 2,2
URC indicates that data transfer finished success-
fully. Connection to the FTP server closes.
AT^SISC=2
Close the FTP service.
OK
AT^SISS=4,srvType,"Http"
Select service type HTTP.
OK
AT^SISS=4,conId,"0"
Select connection profile 0.
OK
AT^SISS=4,address,"https://www.face-
book.com"
Specify access to Facebook website (always
secured).
OK
AT^SISS=4,cmd,"get"
Select command type download.
OK
AT^SISO=4
Open the service.
OK
^SISS: 4,0,2200,"Http www.facebook.com:443"
^SISR: 4,1
URC indicates that the HTTP service is ready to read
data.
AT^SISR=4,1000
Read 1000 bytes.
^SISR: 4,1000
<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML
Mobile 1.0//EN" "http://www.wapforum.org
OK
AT^SISR=4,1000
Repeat reading data n times.
^SISR: 4,1000
....
^SISR: 4,2
URC indicates that data transfer finished success-
fully. Connection to the HTTP server closes.
AT^SISC=4
Close the HTTP service.
OK
AT^SISS=6,srvType,"Http"
Select service type HTTP.
OK