Synaccess-networks NP-0801DTM Uživatelský manuál Strana 218

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 217
CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 218
ParametersandValues
<cid> PDPcontextidentifier.
0 SpecifiestheGSMcontext.
15 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.
16
SocketConfiguration#SCFG
Setcommandsetsthesocketconfigurationparameters.
Readcommandreturnsthecurrentsocketconfigurationparametersvaluesforallthesixsockets,intheformat:
#SCFG:<connId1>,<cid1>,<pktsz1>,<maxTo1>,<connTo1>,<txTo1>
Zobrazit stránku 217
1 2 ... 213 214 215 216 217 218 219 220 221 222 223 ... 329 330

Komentáře k této Příručce

Žádné komentáře