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 219 of 273
#SKTL - Socket Listen
+CONN FROM: <remote addr>
Where:
<remote addr>
- host address of the remote machine that contacted the device.
When the connection is established the
CONNECT
indication is given and the
modem goes into data transfer mode.
On connection close or when context is closed with
#GPRS=0
the socket is closed
and no listen is anymore active.
If the context is closed by the network while in listening, the socket is closed, no
listen is anymore active and an unsolicited code is reported:
#SKTL: ABORTED
Note: when closing the listening socket <input port> is a don’t care
parameter
AT#SKTL?
Read command returns the current socket listening
status
and the last settings of
parameters
<socket type>
,
<input port>
and
<closure type>
, in the format:
#SKTL: <status>,<socket type>
,
<input port>,<closure type>
Where
<status>
- socket listening status
0 - socket not listening
1 - socket listening
AT#SKTL=?
Test command returns the allowed values for parameters
<mode>
,
<socket type>
,
<input port>
and
<closure type>
.
Example
Activate EPS
AT#GPRS=1
+IP: ###.###.###.###
OK
Start listening
AT#SKTL=1,0,1024
OK
or
AT#SKTL=1,0,1024,255
OK
Receive connection requests
+CONN FROM: 192.164.2.1
CONNECT
exchange data with the remote host
Содержание LE910-SKG
Страница 1: ......