View Single Post
  #41   Report Post  
posted to rec.boats.electronics
Bill Kearney Bill Kearney is offline
external usenet poster
 
First recorded activity by BoatBanter: Jul 2006
Posts: 390
Default AIS Position Error?

Agreed. I use UDP in my stuff.

Raymarine's E-80 and their Sirius weather interface also appear to be using
UDP for all traffic. The E-80 also sends other data, I saw a fair number of
packets before I even had the Sirius unit attached. Didn't bother sniffing
the packets with ethereal though. Come winter when I've got the units out
of the boat I may try decoding what gets sent around.

It makes it easy to keep the network
"open" in that any device on the subnet can grab the data and use it.
For that reason, I just send the NMEA sentences one at a time, with no
mods or higher level constructs that a listener would have to be aware
of. The only "gotcha" (and it's irrelevant to the vast majority of
uses) is that all the routers I've looked at block UDP broadcasts from
going off the subnet, for good and sufficient reasons. If you want to
broadcast to another subnet you have to target the UDP to a specific
address on that subnet and let it repeat the message as a broadcast on
that subnet. At least, that's the way I solved the problem in my
stuff.


Yep, UDP is great for all the reasons you mention, including isolation on
the local subnet.

Unfortunately, I've found that most of the potential listeners to the
NMEA data I'm making available are so busy making everything
proprietary that this is less of a benefit than I hoped.


Two steps forward, two steps back. Yeesh.

-Bill Kearney