AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page150of233
Socket Type - #ST
#ST – Socket T
e
Set command reports the current type of the socket (TCP/UDP) and its direction
(Dialer / Listener)
Parameter:
<ConnId> - socket connection identifier
1..6
The response format is:
#ST: <connId>,<type>,<direction>
Where:
<connId> - socket connection identifier
1..6
<type> - socket type
0 – No socket
1 – TCP socket
2 – UDP socket
<direction> - direction of the socket
0 – No
1 – Dialer
2 – Listener
Note: issuing #ST<CR> causes getting information about type of all the sockets;
the response format is:
#ST: <connId1>,<type1>,<direction1>
<CR><LF>
…
#ST: <connId6>,< type 6>,< direction 6>
AT#ST
[=<ConnId>]
Test command reports the range for parameter <connId>. AT#ST=?
single socket:
AT#ST=3
#ST: 3,2,1
Socket 3 is an UDP dialer.
Example
Context Activation - #SGACT
#SGACT - Context Activation
AT#SGACT=
<cid>,<stat>
[,<userId>,
<pwd>]
Execution command is used to activate the specified PDP context, followed by
binding data application to the PS network. Also, it is used to deactivate the PDP
context and unbind data application from PS network