AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page179of233
Configure general parameters of a SSL socket - #SSLCFG
#SSLCFG – Confi
ure
eneral
arameters of a SSL socket
AT#SSLCFG=
<SSId>,<cid>,<pktSz
>,<maxTo>,<defTo>,
<txTo>
[,<skipHostMismatch
>[,<UNUSED_2>[,<U
NUSED_3>[,<UNUS
ED_4>]]]]
This command allows configuring SSL connection parameters.
Parameters:
<SSId> - Secure Socket Identifier
1 - Until now SSL block manages only one socket
<cid> - a numeric parameter which specifies a particular PDP context definition
(see +CGDCONT command)
<pktSz> - packet size to be used by the SSL/TCP/IP stack for data sending.
0 - select automatically default value (300).
1..1500 - packet size in bytes.
<maxTo> - exchange timeout (or socket inactivity timeout); in online mode, if
there’s no data exchange within this timeout period the connection is closed.
0 - no timeout
1..65535 - timeout value in seconds (default 90 s.)
<defTo> - Timeout that will be used by default whenever the corresponding
parameter of each command is not set.
10…5000 - Timeout in tenth of seconds (default 100).
<txTo> - data sending timeout; in online mode after this period data are sent also if
they’re less than max packet size.
0 - no timeout
1..255 - timeout value in hundreds of milliseconds (default 50).
<skipHostMismatch> - ignores Host Mismatch alert.
0 - Do not ignore
1 – Ignore (default)..
Note: If secure socket is not enabled (using #SSLEN) only test requests can be
made.
Note: these values automatically saved in NVM.
AT#SSLCFG?
Read command reports the currently selected parameters in the format:
#SSLCFG:
<SSId1>,<cid>,<pktSz>,<maxTo>,<defTo><txTo>,<skipHostMismatch>,0,0,0
AT#SSLCFG=?
Test command returns the range of supported values for all the parameters.
#SSLCFG: (1),(1-5),(0-1500),(0-65535),(10-5000),(0-255),(0-1),(0),(0),(0)
Configure security parameters of a SSL socket – #SSLSECCFG