
MULTISOCKET AT COMMA
AT Commands for EV-DO-EV3 Modems
Example
AT#SL=?
#SL: (1-6),(0,1),(1-65535),(0,255)
OK
Next command opens a socket listening on port 3500 without.
AT#SL=1,1,3500
OK
Socket Listen UDP #SLUDP
Execute command opens or 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#SLUDP=<connID>,<listenState>,<listenPort> Execute
AT#SLUDP? Read
AT#SLUDP=? 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
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>
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:
+SLUDP: ABORTED
When closing the listening socket you do not need to specify the <listenPort> value.
Kommentare zu diesen Handbüchern