EasyManuals Logo

Telit Wireless Solutions LE910 User Manual

Telit Wireless Solutions LE910
509 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #340 background imageLoading...
Page #340 background image
Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 340 of 509
Mod. 0808 2011-07 Rev.2
Socket Listen - #SL
#SL - Socket Listen
SELINT 2
AT#SL=<connId>,
<listenState>,
<listenPort>
>[,<closure type>]
This command opens/closes a socket listening for an incoming TCP connection on
a specified port.
Parameters:
<connId> - socket connection identifier
1..6
<listenState> -
0 - closes socket listening
1 - starts socket listening
<listenPort> - local listening port
1..65535
<closure type> - socket closure behaviour for TCP when remote host has closed
0 - local host closes immediately (default)
255 - local host closes after an AT#SH or immediately in case of an abortive
disconnect from remote.
Note: if successful, the command returns a final result code OK.
If the ListenAutoRsp flag has not been set through the command AT#SCFGEXT
(for the specific connId), then, when a TCP connection request comes on the input
port, if the sender is not filtered by internal firewall (see #FRWL), an URC is
received:
+SRING : <connId>
Afterwards we can use #SA to accept the connection or #SH to refuse it.
If the ListenAutoRsp flag has been set, then, when a TCP connection request
comes on the input port, if the sender is not filtered by the internal firewall (see
command #FRWL), the connection is automatically accepted: the CONNECT
indication is given and the modem goes into online data mode.
If the socket is closed by the network the following URC is received:
#SL: ABORTED
Note: when closing the listening socket <listenPort> is a don’t care
Parameter
Note:
<closureType>
255
takes effect on a command mode connection
(connection accepted through AT#SA=<connId>,1
or online mode connection
suspended with +++) only if
#SCFGEXT3
<closureTypeCmdModeEnabling>
parameter has been previously enabled.
AT#SL?
Read command returns all the actual listening TCP sockets.
AT#SL=?
Test command returns the range of supported values for all the subparameters.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Telit Wireless Solutions LE910 and is the answer not in the manual?

Telit Wireless Solutions LE910 Specifications

General IconGeneral
BrandTelit Wireless Solutions
ModelLE910
CategoryControl Unit
LanguageEnglish

Related product manuals