Specifications

CUSTOMATCOMMANDS
213 HSPA+ATCommandsReferenceGuide
MultisocketATCommands
SocketStatus#SS
Executecommandreportsthecurrentstatusofthesocket.
Testcommandreportstherangeforparameter<connId>.
Syntax
Command Commandtype
AT#SS[=<connId>] Execute
AT#SS=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
16
Theresponseformatis:
#SS:<connId>,<state>,<locIP>,<locPort>,<remIP>,<remPort>
where:
<connId> Socketconnectionidentifier.
<state> Actualstateofthesocket.
0 Socketclosed.
1 Socketwithanactivedatatransferconnection.
2 Socketsuspended.
3 Socketsuspendedwithpendingdata.
4 Socketlistening.
5
Socketwithanincomingcon
nection.Waitingfortheuseracceptorshutdown
command.
<locIP> IPaddressassociatedbythecontextactivationtothesocket.
<locPort> Ifthesocketisplacedinlistenmode,thelisteningport.
Ifthesocketisusedtoconnecttoaremotemachine,thelocalportforthe
connection.
<remIP> Whe
nconnectedtoaremotemachine,thisistheremoteIPaddress.
<remPort> Theportconnectedtoontheremotemachine.
Notes
Issuing#SS<CR>causesgettinginformatio n aboutstatusofallthesockets;theresponseformatis:
#SS:<connId1>,<state1>,<locIP1>,<locPort1>,<remIP1>,<remPort1>
<CR><LF>
#SS:<connId6>,<state6>,<locIP6>,<locPort6>,<remIP6>,<remPort6>
Examples
AT#SS
#SS: 1,3,91.80.90.162,61119,88.37.127.146,10510