AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page174of233
#SSLD – Opens a socket SSL to a remote server
Note: if timeout is not set for SSL connection the default timeout value, set by
AT#SSLCFG, is used.
Note: in online mode the socket is closed after an inactivity period (configurable
with #SSLCFG, with a default value of 90 seconds), and the
‘NO CARRIER’ message is printed.
Note: in online mode data is transmitted as soon as the data packet size is reached
or as after a transmission timeout. Both these parameters are configurable by using
#SSLCFG
Note: Before opening a SSL connection, make sure to have stored the needed
secure data (Certificate, CA certificate, private key), using AT#SSLSECDATA,
for the security level set through AT#SSLSECCFG.
Note: Before opening a SSL connection the GPRS context must have been
activated by AT#SGACT=x,1
Note: The PDP context definition that will be used, is set by AT#SSLCFG
command
AT#SSLD=?
Test command returns the range of supported values for all the parameters:
#SSLD: (1),(1-65535),,(0),(0,1),(10-5000)
Example
Start command mode:
AT#SSLD=1,8500,"84.94.194.21",0,1
OK
Start online mode:
AT#SSLD =1,8500,"84.94.194.21",0,0
OK
CONNECT
Configure correct PDP context with AT#SSLCFG command:
at#sgact=3,1
#SGACT: XX.XXX.XXX.XXX
OK
** Note the second parameter of sslcfg **
at#sslcfg=1,3,300,90,100,50,0,0,0,0
OK
at#ssld=1,<port>,"IP or URL",0,0
CONNECT
Send data through a SSL socket
-
#SSLSEND