DE910-DUAL AT commands reference guide
80392ST10102A Rev.2 – 2012-07-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 191 of 261
#SKTL - Socket Listen
Command returns the
OK
result code if successful.
Note: the command to be successful requests that:
-
the authentication parameters are set (#USERID, #PASSW)
-
the CDMA coverage is enough to permit a connection
-
the CDMA data connection has been activated with AT#SGACT or
AT#CDMADC
When a connection request comes on the input port, if the sender is not filtered by
the internal firewall (see command #FRWL), an unsolicited code is reported:
+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 AT#SGACT or AT#CDMADC
the socket is closed and no listen is any more active.
If the context is closed by the network while in listening, the socket is closed, no
listen is any more active and an unsolicited code is reported:
#SKTL: ABORTED
Note: when closing the listening socket <listenPort> 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 CDMA
AT#CDMADC=1
+IP: ###.###.###.###
OK
Содержание DE910-DUAL
Страница 1: ...80392ST10102A Rev 2 2012 07 03...