Synaccess-networks NP-0801DTM Manual do Utilizador Página 228

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 330
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 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.
Vista de página 227
1 2 ... 223 224 225 226 227 228 229 230 231 232 233 ... 329 330

Comentários a estes Manuais

Sem comentários