Synaccess-networks NP-0801DTM Manuale Utente Pagina 227

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 330
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 226
CUSTOMATCOMMANDS
227 HSPA+ATCommandsReferenceGuide
Examples
NextcommandopensasocketlisteningforTCPonport3500without.
AT#SL=1,1,3500
OK
Notes
Ifsuccessful,thecomman d returnsafinalresultcod eOK.
IftheListenAutoRspflaghasnotbeensetthroughthecommandAT#SCFGEXT(forthespecificconnId),then,
whenaTCPconnectionrequestcomesontheinputport,ifthesenderisnotfilteredbyinternalfirewall(see
#FRWL),anURCisreceived:
+SRING:<connId>
Youmustuse#SAcommandtoa
ccepttheconnectionor#SHcommandtorefuseit.
IftheListenAutoRSPflagissetwhenaTCPconnectionrequestisreceivedonthelocallistening port,the
connectionisautomaticallyacceptedaslongastheIPaddressofthedeviceoriginatingtheconnectionhasbeen
definedintheinternalfirwewall(see#FRWL.)OnceacceptedtheCONNECT indicationisgivenandth
emodem
goesintoonlinedatamode.
Whenclosingthelisteningsocketyoudonotneedtospecifythe<listenPort> value.
SocketListenUDP#SLUDP
ThiscommandopensorclosesasocketlisteningforanincomingUDPconnectiononaspeci fiedport.
ReadcommandreturnsalltheactuallisteningUDPsockets.
Testcommandreturnstherangeofsupportedvaluesforallthesubparameters.
Syntax
Command Commandtype
AT#SLUDP=<connId>,<listenState>,<listenPort>
AT#SLUDP? Read
AT#SLUDP=? Test
ParametersandValues
<connId> Socketconnectionidentifier.
16
<listenState>
0 Closessocketlistening.
1 Startssocketlistening.
Vedere la pagina 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 329 330

Commenti su questo manuale

Nessun commento