Multitech MTR-C2 Specifikace Strana 228

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 330
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 227
CUSTOMATCOMMANDS
ATCommandsforHSPAH5Modem 228
<listenPort> Locallisteningport.
165535
Notes
Ifsuccessful,thecommandreturnsafinalresultcodeOK.
IftheListenAutoRspflagisnotsetthroughthecommandAT#SCFGEXT(forthespecificconnId),then,whenan
UDPconnectionrequestcomesontheinputport,ifthesenderisnotfilteredbyinternalfirewa ll(see#FRWL),
aURCisreceived:
+SRING:<connId>
Afterwards,use#SAtoaccepttheconnectionor#SHtorefuseit.
IftheListenAutoRspflagisset,then,whenanUDPconnectionrequestcomesontheinputport,ifthesender
isnotfilteredbytheinternalfirewall(seecommand#FRWL),theconnectionisautomaticallyaccepted:
the
CONNECTindicationisgivenandthemodemgoesintoonlinedatamode.
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.
Zobrazit stránku 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 329 330

Komentáře k této Příručce

Žádné komentáře