User guide
Data Communication and Host Modes
Rev 3.0D Jul.09 61
idleinter‐charactertime‐outspecifiedinS50(intenthsof
seconds)occursorwhenacharacterisreceivedthatmatches
S51(ifnon‐zero).
UDP Auto Answer
UDPautoanswer(previouslycalledUDPhalf‐open)isset
withS82=2.Whenset,theRavenXTwillautomatically
establishaUDPsessiontothesourceIPaddressandportof
theUDPpacketreceived.TheRavenXTwillremain“locked”
tothisoneremoteIP/portuntilnodataissent
orreceivedfor
thetimeintervaldefinedintheUDPautoanswertime‐out
(S83).Duringthissession,packetsfromotherIP/port
addresseswillberejected,unless*UALLisset.Whetherornot
anincomingpacketwillcausethemodemtoenteraUDP
sessionisalwaysdependentonthe
S53andAIPsettings.
TheNormalUDPMode(MD3)canbecombinedwithUDP
autoanswertocausetheincomingserialdatatobesentin
UDPpackets(insteadofbeingtreatedasATcomm ands),while
allowingsessionstobeestablishedfromdifferentUDP
sources.AUDPsessionwillbeinitiatedeitherbyincoming
serial
dataorbyanincomingUDPpacket.Thesession,started
byeithermethod,willbeterminatedwhennodatahasbeen
sentorreceivedfortheS82period.Oncethesessiontermi
‐
nates,anothermaybeinitiatedbyeithermeans.
Whenidle,afterthetime‐outhasoccurred,themodemisinAT
commandmodeontheserialport,andany validATcommand
maybeenteredduringthistime.
Tip: It is best to ensure the idle time-outs for TCP and UDP are never
0 if you're going to be using auto-answer, or either PAD mode. In
those circumstances, you will want the modem to close the socket if
the connection goes idle for too long, particularly if the other side
doesn’t normally close the connection.
Whenthesessionisinitiatedbyserialdata,thenewsession
willbeestablishedusingthedestinationaddressspecifiedin
S53.TheS53settingcanbe changediftheconnecttolastUDP
setting(*UDPLAST=1)isset.TheaddressinS53willbe
updatedtoreflecttheaddressofthelast
sessioninitiatedbyan
incomingUDPpacket.Sothatwhennewdataisreceivedover
thehostserialportwhileintheidlestate,asessionwillbere‐
establishedwiththelastaddress.(Thisbehavioristhesameas
thepreviousHybrid2(MD6)mode).