LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 188 of 273
#SD - Socket Dial
Note: if we set
<connMode>
to
command mode connection
and the
command is successful, the socket is opened and we remain in
command
mode
and we see the result code
OK
.
Note: if there are input data arrived through a connected socket and not
yet read because the module entered
command mode
before reading
them (after an escape sequence or after
#SD
has been issued with
<connMode>
set to
command mode connection)
, these data are
buffered and we receive the
SRING
URC (
SRING
presentation format
depends on the last
#SCFGEXT
setting); it’s possible to read these data
afterwards issuing
#SRECV
. Under the same hypotheses it’s possible to
send data while in
command mode
issuing
#SSEND.
Note:
<txTime>
parameter is valid for UDP connections only and has no effect (if
used) for TCP connections. For slow servers it is recommended to adjust the time
interval for uploading series of data packets in order to do not lose data. The
following data packet will be sent after the previous data packet's time interval has
been expired.
AT#SD=?
Test command reports the range of values for all the parameters.
Example
Open socket 1 in online mode
AT#SD=1,0,80,”www.google.com”,0,0,0
CONNECT
…
Open socket 1 in command mode
AT#SD=1,0,80,”www.google.com”,0,0,1
OK
#SO - Socket Restore
AT#SO=<connId>
Execution command resumes socket connection which has been suspended by the
escape sequence.
Parameter:
<connId>
- socket connection identifier
1..6
AT#SO=?
Test command reports the range of values for
<connId>
parameter.
#SL - Socket Listen
AT#SL=<connId>,
<listenState>,
<listenPort>
[,<closure type>]
This command opens/closes a socket listening for an incoming connection on a
specified port.
Parameters:
<connId>
- socket connection identifier
1..6
Содержание LE910-SKG
Страница 1: ......