Multitech MTR-C2 Dokumentacja Strona 228

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 330
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 329 330

Komentarze do niniejszej Instrukcji

Brak uwag