AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page162of233
#SA - Socket Accept
AT#SA=<connId>
[,<connMode>]
Execution command accepts an incoming socket connection after an URC
SRING: <connId>
Parameter:
<connId> - socket connection identifier
1..6
<connMode> - Connection mode, as for command #SD.
0 - online mode connection (default)
1 - command mode connection
Note: the SRING URC has to be a consequence of a #SL issue
AT#SA=?
Test command reports the range of values for all the parameters.
Socket Restore - #SO
#SO - Socket Restore
AT#SO=<connId>
Execution command resumes socket connection which has been suspended by the
escape sequence.
Parameter:
<connId> - socket connection identifier
1..6
AT#SO=?
Test command reports the range of values for <connId> parameter.
Socket Listen - #SL
#SL - Socket Listen
AT#SL=<connId>,
<listenState>,
<listenPort>
[,<lingerT>]
This command opens/closes a socket listening for an incoming 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
0..65535
<lingerT> - linger time
0 - immediate closure after remote closure
255 - local host closes only after an escape sequence (+++)
Note: if successful, commands 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