Specifications
CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 218
ParametersandValues
<cid> PDPcontextidentifier.
0 SpecifiestheGSMcontext.
1‐5 NumericparameterwhichspecifiesaparticularPDPcontextdefinition.
<stat>
0 Deactivatethecontext.
1 Activatethecontext.
<userId> Stringtype,usedonlyifthecontextrequiresit.
<pwd> Stringtype,usedonlyifthecontextrequiresit.
Notes
Itisrecommendedthatyouusethesamecommand(forexample#SGACT)toactivatethecontext,deactivateit
andinterrogateitsstatus.
Contextactivation/deactivationreturnsERRORifthereisnotanysocketassociatedtoit.SeeAT#SCFG.
AftertheGSMcontextisactivated,youcanuseeitherMultisocket,orFTPorEmailATcommandsto
send/receiveTCP/IPpacketsviaGSM.
TodeactivatetheGSMcontext,issueAT#SGACT =0,0onthesameserialportusedwhenthecontextwas
activated.
GSMcontextactivationisaffectedbyAT+CBSTcommand.Inparticular,GSMcontextactivationisjustallowed
with“nontransparent”datacalls.
ActivatingaGSMcontextwhileaPDPcontextisalreadyactivatedcausesthePDPcontexttobesuspended.
IfGSMcontextisactive,itisnotallowedanyPDPcontextactivation.
SocketShutdown#SH
Thiscommandclosesasocket.
Testcommandreportstherangeforparameter<connId>.
Syntax
Command Commandtype
AT#SH=<connId>
AT#SH=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
1‐6
SocketConfiguration#SCFG
Setcommandsetsthesocketconfigurationparameters.
Readcommandreturnsthecurrentsocketconfigurationparametersvaluesforallthesixsockets,intheformat:
#SCFG:<connId1>,<cid1>,<pktsz1>,<maxTo1>,<connTo1>,<txTo1>