Synaccess-networks NP-0801DTM Manual de usuario Pagina 218

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 330
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 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>
Vista de pagina 217
1 2 ... 213 214 215 216 217 218 219 220 221 222 223 ... 329 330

Comentarios a estos manuales

Sin comentarios