
MULTISOCKET AT COMMANDS
133 AT Commands for EV-DO-EV3 Modems
Parameters and Values
<connID> Socket connection identifier.
1-6
Socket Listen #SL
Execute command opens/closes a socket listening for an incoming connection on a specified port.
Read command returns all the actual listening sockets.
Test command returns the range of supported values for all the subparameters.
Syntax
Command Command type
AT#SL=<connID>,<listenState>,<listenPort>>[,<lingerT>] Execute
AT#SL? Read
AT#SL=? Test
Parameters and Values
<connID> Socket connection identifier.
1-6
<listenState>
0 Closes socket listening.
1 Starts socket listening.
<listenPort> Local listening port.
1-65535
<lingerT> Linger time.
0 Local host closes immediately when remote host has closed. Default: 0.
255 Local host closes after an escape sequence (+++).
Notes
If successful, the command returns a final result code OK. When there is an incoming connection on the
local port and if the sender is not filtered by internal firewall (see #FRWL), a URC is received:
+SRING : <connID>
The command #SCFGEXT doesn’t influence the presentation format of the URC SRING.
Afterwards, use #SA to accept the connection of #SH to refuse it.
If the socket is closed by the network the follow URC is received:
+SL:ABORTED
When closing the listening socket you do not need to specify the <listenPort> value.
Comentarios a estos manuales