Multitech MTR-C2 Specifications Page 227

  • Download
  • Add to my manuals
  • Print
  • Page
    / 330
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 226
CUSTOMATCOMMANDS
227 ATCommandsforHSPAH5Modems
Examples
NextcommandopensasocketlisteningforTCPonport3500without.
AT#SL=1,1,3500
OK
Notes
Ifsuccessful,thecommandreturnsafinalresultcodeOK.
IftheListenAutoRspflaghasnotbeensetthroughthecommandAT#SCFGEXT(forthespecificconnId),then,
whenaTCPconnectionrequestcomesontheinputport,ifthesenderisnotfilteredbyinternalfirewall(see
#FRWL),anURCisreceived:
+SRING:<connId>
Youmustuse#SAcommandto
accepttheconne ctionor#SHcommandtorefuseit.
IftheListenAutoRSPflagissetwhenaTCPconnectionrequestisreceivedonthelocallistening port,the
connectionisautomaticallyacceptedaslongastheIPaddressofthedeviceoriginatingtheconnectionhasbeen
definedintheinternalfirwewall(see#FRWL.)OnceacceptedtheCONNECTindicationisgiven
andthemodem
goesintoonlinedatamode.
Whenclosingthelisteningsocketyoudonotneedtospecifythe<listenPort>value.
SocketListenUDP#SLUDP
ThiscommandopensorclosesasocketlisteningforanincomingUDPconnectiononaspecifiedport.
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.
Page view 226
1 2 ... 222 223 224 225 226 227 228 229 230 231 232 ... 329 330

Comments to this Manuals

No comments