Specifications

HE863 family AT commands reference guide
80377ST10083a Rev.4 – 2012-02-01
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved. Page 209 of
228
#SL - Socket Listen
If the socket is closed by the network the following URC is received:
#SKTL: ABORTED
AT#SL?
Read command returns all the actual listening sockets.
AT#SL=?
Test command returns the range of supported values for all the subparameters.
Example at#scfg?
#SCFG: 1,1,300,90,600,50
#SCFG: 2,2,300,90,600,50
#SCFG: 3,2,250,90,600,50
#SCFG: 4,1,300,90,600,50
#SCFG: 5,1,300,90,600,50
#SCFG: 6,1,300,90,600,50
OK
3.5.5.2.11.
Receive
Data In Command Mode - #SRECV
#SRECV – Received Data in Command Mode
AT#SRECV=
<connId>,
<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 before reading them; the module is notified of
these data by a SRING URC, whose presentation format depends on the
last #SCFGEXT setting.
Parameters:
<connId> - socket connection identifier
1..6
<maxByte> - max number of bytes to read
1..1500
Note: issuing #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