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 341 of 509
Mod. 0808 2011-07 Rev.2
Next command opens a socket listening for TCP on port 3500 without.
AT#SL=1,1,3500
OK
Socket Listen UDP - #SLUDP
#SLUDP - Socket Listen UDP
>,
<listenState>,
<listenPort>
This command opens/closes a socket listening for an incoming UDP 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
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 an UDP 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 an UDP 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:
#SLUDP: ABORTED
Note: when closing the listening socket <listenPort> is a don’t care
parameter
Read command returns all the actual listening UDP sockets.