Sierra Raven EDGE Guía de usuario Pagina 57

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 172
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 56
Data Communication and Host Modes
Rev 1.0C Jul.09 51
Tip: TCP auto answer (S0) may also be set simultaneously with UDP
auto answer. Then, when in the idle state, the modem will accept
either a TCP or UDP incoming packet, and enter a TCP or UDP
session as appropriate.
Reliable UDP
ReliableUDPaddsasimpleprotocolontopofUDPtoprovide
reliabledeliveryofdata.Whendataisreceivedfromthehost
serialport,a2byteheaderisaddedtothedata,containinga
messagetypeandasequencenumber.TheRavenXwill
continuetosendthisdata
(bufferinganyreceiveddatainthe
meantime)untilitreceivesanacknowledgementwiththis
sequencenumber.Ifanacknowledgementisnotreceived
withinthetimeoutperiod(specifiedinS7),thedatawillbe
retransmitted.Thiswillcontinueuntilanacknowledgementis
receivedorthemodemisreset.Likewiseany
UDPpackets
receivedbytheRavenXareexpectedtohavethissimple
header.TheRavenXwillissueanacknowledgementforany
validpacketswhicharereceived.
ToconfiguretheRavenXforanormalUDPsession,youneed
tosettheStartupModeDefaultto73(ATMD73).Ifyouare
usingtwomodems,configuretheDestinationIPandPortin
eachtopointtoeachother.Serialdatawillthenbesentreliably
betweenthetwo.
Caution: Although it adds reliability, the simple implementation of the
Reliable UDP mode in the does not check for duplicate packets.
UDP Multicast Mode
UDPMulticastmoderesultsinanydatareceivedfromthehost
serialportbeingsenttoalltheclientsintheaddresslist.The
remoteportnumberistakenfromS53.Toavoidfloodingthe
network,thepacketsaresenttoeachclientwitha20mspause
inbetween.Thereceipt
ofUDPpacketsworksasinnormal
UDPmode(i.e.boundbythevalueS53and/orAIP).Sinceit
maytakeawhiletotransmitthedatatoallhosts (especiallyif
all20Modbusentriesareusedandnameresolutionsare
required),newdatareceivedfromthehostport
isbuffered
untilcurrenttransmissionstoallhostsarefinished.
EnterthelistoftargetIPsintheaddresslist(ADDRLIST).The
indexnumbersinthelistarenʹtused.Configureforanormal
UDPsession.SettheStartupModeDefaultto83(ATMD83).
ConfiguretheDestinationporttomatchthedeviceportofthe
remotemodems.
Vista de pagina 56
1 2 ... 52 53 54 55 56 57 58 59 60 61 62 ... 171 172

Comentarios a estos manuales

Sin comentarios