Notes, Examples, Socket accept #sa – Synaccess Networks NP-0801DTM User Manual
Page 228: Syntax, Parameters and values

CUSTOM AT COMMANDS
HSPA+ AT Commands Reference Guide
228
Local listening port.
1‐65535
Notes
If successful, the command returns a final result code OK.
If the ListenAutoRsp flag is not 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),
a URC is received:
+SRING :
Afterwards, use #SA to accept the connection or #SH to refuse it.
If the ListenAutoRsp flag is 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 network closes the socket the following URC is received:
#SLUDP: ABORTED
When closing the listening socket you do not need to specify the
Examples
Next command opens a socket listening for UDP on port 3500.
AT#SLUDP=1,1,3500
OK
Socket Accept #SA
Execute command accepts an incoming socket connection after an URC SRING:
Test command reports the range of values for all the parameters.
Syntax
Command
Command Type
AT#SA=
Execute
AT#SA=?
Test
Parameters and Values
Socket connection identifier.
1‐6
Connection mode, as for command #SD.
0
Online mode connection. Default: 0.
1
Command mode connection.