EasyManua.ls Logo

Telit Wireless Solutions LE910 - Read Data from a SSL Socket - #SSLRECV

Telit Wireless Solutions LE910
509 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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
SELINT 2
AT#SSLRECV=<SSId>,
<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.
Parameters:
<SSI
d> - Secure Socket Identifier
1 - Until now SSL block manage only one socket.
<MaxNumByte>
- max number of bytes to read
1..1000
< Timeout >
- time-out in 100 ms units
1..5000 - hundreds of ms (factory default is 100)
If no data are received th
e device respondes:
#SSLRECV: 0<CR><LF>
TIMEOUT<CR><LF>
<CR><LF>
OK
If the remote host closes the connection the device respondes:
#SSLRECV: 0<CR><LF>
DISCONNECTED<CR><LF>
<CR><LF>
OK
If data are received the device respondes:
#SSLRECV: NumByteRead<CR><
LF>
...(Data read)... <CR><LF>
<CR><LF>
OK
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.
Note: before
receiving data from the SSL connection it has to be
established using AT#SSLD.

Table of Contents

Related product manuals