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

  • 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 227
CUSTOMATCOMMANDS
HSPA+ATCommandsReferenceGuide 228
<listenPort> Locallisteningport.
165535
Notes
Ifsuccessful,thecomman d returnsafinalresultcod eOK.
IftheListenAutoRspflagisnotsetthroughthecommandAT#SCFGEXT(forthespecificconnId),then,whenan
UDPconnectionrequestcomesontheinputport,ifthesenderisnotfilteredbyinternalfirewall(see#FRWL),
aURCisreceived:
+SRI
NG:<connId>
Afterwards,use#SAtoaccepttheconnection or#SHtorefuseit.
IftheListenAutoRspflagisset,then,whenanUDPconnectionrequestcomesontheinputport,ifthesender
isnotfilteredbytheinternalfirewall(seecommand#FRWL),theconnectionisautomaticallyaccepted:the
CONNECTindic
ationisgivenandthemodemgoesintoonlinedatamode.
IfthenetworkclosesthesocketthefollowingURCisreceived:
#SLUDP:ABORTED
Whenclosingthelisteningsocketyoudonotneedtospecifythe<listenPort>value.
Examples
NextcommandopensasocketlisteningforUDPonport3500.
AT#SLUDP=1,1,3500
OK
SocketAccept#SA
ExecutecommandacceptsanincomingsocketconnectionafteranURCSRING:<connId>.
Testcommandreportstherangeofvaluesforalltheparameters.
Syntax
Command CommandType
AT#SA=<connId>[,<connMode>] Execute
AT#SA=? Test
ParametersandValues
<connID> Socketconnectionidentifier.
16
<connMode> Connectionmode,asforcommand#SD.
0 Onlinemodeconnection.Default:0.
1 Commandmodeconnection.
Vue de la page 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 329 330

Commentaires sur ces manuels

Pas de commentaire