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

  • 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 224
CUSTOMATCOMMANDS
225 HSPA+ATCommandsReferenceGuide
ParametersandValues
<connId> Socketconnectionidentifier.
16
<txProt> Transmissionprotocol.
0 TCP.
1 UDP.
<rPort> Remotehostporttocontact.
165535
<IPaddr> Stringtype,addressoftheremotehost.Canbe:
anyvalidIPaddressintheformat:“xxx.xxx.xxx.xxx”.
anyhostnametobesolvedwithaDNSquery.
<closureType> Socke
tclosurebehaviorforTCP.
0 Localhostclosesimmediatelywhenremotehosthasclosed.Default:0.
255 Localhostclosesafteranescapesequence(+++).
<lPort> UDPconnectionslocalport.
165535
<connMode> Connectionmode.
0 Onlinemodeconnection.Default:0.
1 Commandmodeconnection.
Notes
<closureType>parameterisvalidforTCPconnectionsonlyandhasnoeffect(ifused)forUDPconnections.
<lPort>parameterisvalidforUDPconnectionsonlyandhasnoeffect(ifused )forTCPconnections.
Note:If<connMode>issettoonlinemodeconnectionandthecommandissuccessfulonline datamodeis
entered,withtheintermediateresultcodeCONNECT.AftertheCONNECTyoucansuspendthedirect interface
tothesocketconnection(thesocketstaysopen)usingtheescapesequence(+++):themodulemovesbackto
comman
dmodeandyoureceivethefinalresultcodeOKafterthesuspension.Aftersuch asuspension,it’s
possibletoresumeitineverymoment(unlessthesocket inactivitytimertimeouts,see#SCFG)byusingthe#SO
commandwiththecorresponding<con nId>.
Ifyouset<connMode>tocommandmodeconnectionandthecommandissuccessful,thesocketisopened,you
remainincommandmodeandtheresultcodeOKappears.
Ifthereareinputdataarrivedthrough aconnectedsocketandnotyetreadbecausethemod uleentered
commandmodebeforereadingthem(afteranescapesequenceorafter#SDisissuedwith<connMode>setto
commandmodeconnection),thesedataarebufferedandtheSRINGURCisreceived.TheSRINGpresentation
formatdep
endsonthelast#SCFGEXTsetting.Itispossibletoreadthesedataafterwardsissuing#SRECV.Under
thesamehypothesesitispossibletosenddatawhileincommandmodeissuing#SSEND
Resumeofthesocket(#SO)aftersuspensionorclosure(#SH)hastobedoneonthesameinstanceonwhichthe
socketwasopenedthrough#SD.Infact,suspensionisdoneontheinstanceitself
Examples
Opensocket1inonlinemode
AT#SD=1,0,80,”www.google.com”,0,0,0
CONNECT
Vue de la page 224
1 2 ... 220 221 222 223 224 225 226 227 228 229 230 ... 329 330

Commentaires sur ces manuels

Pas de commentaire