Synaccess-networks NP-0801DTM Manuel d'utilisateur Page 218

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 330
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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>
Vue de la page 217
1 2 ... 213 214 215 216 217 218 219 220 221 222 223 ... 329 330

Commentaires sur ces manuels

Pas de commentaire