CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 216
AT#ST[=<ConnId>] Set
AT#ST=? Test
ParametersandValues
<ConnId> Socketconnectionidentifier.
1‐6
Theresponseformatis:
#ST:<connId>,<type>,<direction>
where:
<connId> Socketconnectionidentifier.
<type> Sockettype:
0 Nosocket.
1 TCPsocket.
2 UDPsocket.
<direction> Directionofthesocket.
0 No.
1 Dialer.
2 Listener.
Notes
Issuing#ST<CR>getsinformationabouttypeofallthesockets;theresponseformatis:
#ST:<connId1>,<type1>,<direction1>
<CR><LF>
…
#ST:<connId6>,<type6>,<direction6>
Examples
Singlesocket:
AT#ST=3
#ST: 3,2,1
Socket 3 is an UDP dialer.
All sockets:
AT#ST
#ST: 1,0,0
#ST: 2,0,0
#ST: 3,2,1
#ST: 4,2,2
#ST: 5,1,1
#ST: 6,1,2
Socket1isclosed.
Commentaires sur ces manuels