Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 359 of 509
Mod. 0808 2011-07 Rev.2
SSL Commands
Open a socket SSL to a remote server - #SSLD
#SSLD – Opens a socket SSL to a remote server
<rPort>,<IPAddress>,
<ClosureType>[,
<connMode>[,
<Timeout>]]
Execution command opens a remote connection via socket secured through
SSL. Both command and online modes can be used.
In the first case ‘OK’ is printed on success, and data exchange can be
performed by means of #SSLSEND and #SSLRECV commands.
In online mode ‘CONNECT’ message is printed, and data can be
sent/received directly to/by the serial port. Communication can be suspended
by issuing the escape sequence (by default +++) and restored with #SSLO
command.
- Secure Socket Identifier
1 - Until now SSL block manage only one socket
- Remote TCP port to contact
-
address of the remote host, string type. This parameter
- any valid IP address in the format: “xxx.xxx.xxx.xxx”
any host name to be solved with a DNS query
-
– only value 0 supported
- connection mode
– online mode connection.
1 – command mode connection (factory default).
- time-out in 100 ms units. It represents the maximum allowed
-packet delay. It means that, when more data is expected during
the handshake, the module awaits <Timeout> * 100 msecs for the next
packet. If no more data can be read, the module gives up the handshake and
raises an ERROR response.
Note: IT’S NOT the total handshake timeout or, in other words, it’s no
t the
absolute maximum time between the #SSLD issue and the
CONNECT/OK/ERROR response. Though by changing this parameter you
can limit the handshake duration (for example in case of congested network
or busy server), there’s no way to be sure to get the co
mmand response
within a certain amount of time, because it depends on the TCP connection
time, the handshake time and the computation time (which depends on the
authentication mode and on the size of keys and certificates).