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 363 of 509
Mod. 0808 2011-07 Rev.2
Read Data from a SSL socket - #SSLRECV
#SSLRECV – Read data from a SSL socket
<MaxNumByte>
[,<TimeOut>]
This command allows receiving data arrived through a connected
secure socket, but buffered and not yet read because the module
entered command mode before reading them. The module can be
notified of these data by a SSLSRING URC, which enabling and
presentation format depends on last #SSLCFG setting.
d> - Secure Socket Identifier
1 - Until now SSL block manage only one socket.
- max number of bytes to read
1..1000
- time-out in 100 ms units
1..5000 - hundreds of ms (factory default is 100)
If no data are received th
e device respondes:
If the remote host closes the connection the device respondes:
If data are received the device respondes:
#SSLRECV: NumByteRead<CR><
LF>
...(Data read)... <CR><LF>
Note: if secure socket is not enabled using AT#SSLEN only test
requests can be made.
Note: if timeout is not set for SSL connection the default timeout value,
set through AT#SSLCFG, is used.
receiving data from the SSL connection it has to be
established using AT#SSLD.