![Telit Wireless Solutions UC864-E Reference Manual Download Page 263](http://html1.mh-extra.com/html/telit-wireless-solutions/uc864-e/uc864-e_reference-manual_1083737263.webp)
UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 263 of 329
#SL
#SL
#SL
#SL ---- Socket Listen
Socket Listen
Socket Listen
Socket Listen
1.1.1.1.1
Receive
Receive
Receive
Receive
Data In Command Mode
Data In Command Mode
Data In Command Mode
Data In Command Mode ---- #SRECV
#SRECV
#SRECV
#SRECV
#SRECV
#SRECV
#SRECV
#SRECV –
––
– Received Data in Command Mode
Received Data in Command Mode
Received Data in Command Mode
Received Data in Command Mode
AT#SRECV=
AT#SRECV=
AT#SRECV=
AT#SRECV=
<connId>,
<connId>,
<connId>,
<connId>,
<maxByte>
<maxByte>
<maxByte>
<maxByte>
Execution command permits the user to read data arrived through a
connected socket, but buffered and not yet read because the module
entered command mode
command mode
command mode
command mode before reading them; the module is notified of
these data by a SRING
SRING
SRING
SRING URC, whose presentation format depends on the last
#SCFGEXT
#SCFGEXT
#SCFGEXT
#SCFGEXT setting.
Parameters:
<connId>
<connId>
<connId>
<connId> - socket connection identifier
1..6
<maxByte>
<maxByte>
<maxByte>
<maxByte> - max number of bytes to read
1..1500
Note: issuing #SRECV
#SRECV
#SRECV
#SRECV when there’s no buffered data raises an error.
Example
SRING URC (<srMode> be 0, <dataMode> be 0) telling data have just come
through connected socket identified by <connId>=1 and are now buffered
SRING: 1
Read in text format the buffered data
AT#SRECV=1,15
#SRECV: 1,15
stringa di test
OK
SRING URC (<srMode> be 1, <dataMode> be 1) telling 15 bytes data have
just come through connected socket identified by <connId>=2 and are now
buffered
SRING: 2,15
Read in hexadecimal format the buffered data
AT#SRECV=2,15
#SRECV: 2,15
737472696e67612064692074657374
OK