Specifications

CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 226
Opensocket1incommandmode
AT#SD=1,0,80,”www.google.com”,0,0,1
OK
SocketRestore#SO
Executecommandresumesthedire ctinterfacetoasocketconnectionwhichissuspendedbytheescape
sequence.
Testcommandreportstherangeofvaluesfor<connId>parameter.
Syntax
Command Commandtype
AT#SO=<connId> Execute
AT#SO=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
16
SocketListen#SL
Thiscommandopens/clos esasocketlisteningforanincomingTCPconnectiononaspecifiedport.
ReadcommandreturnsalltheactuallisteningTCPsockets.
Testcommandreturnstherangeofsupportedvaluesforallthesubparameters.
Syntax
Command Commandtype
AT#SL=<connId>,<listenState>,<listenPort>>[,<closuretype>]
AT#SL? Read
AT#SL=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
16
<listenState>
0 Closessocketlistening.
1 Startssocketlistening.
<listenPort> Locallisteningport.
165535
<closuretype> SocketclosurebehaviorforTCP.
0 Localhostclosesimmediatelywhenremotehosthasclosed.Default:0.
255 Localhostclosesafteranescapesequence(+++).