|
From: | Patrick Conroy |
Subject: | Re: Broadcast nmea to the network |
Date: | Mon, 18 Mar 2024 09:24:45 -0500 |
Владимир, Gary, Nick, Chris, Bo, Patrick,
Thank you so much for your answers. Hope it's okay I respond to you all in
this email.
The reason why I want to test this (it's all for fun), is that I've seen it
done on vessels (ships, acquiring e.g. echosounder data). Instead of clients
connecting to a server, the device responsible for location data (i.e.
GPS/GNSS) will send datagrams (containing NMEA sentences) to the network
broadcast address. In my naive case, rogue devices spraying bogus data do not
exist.
To me this seems simple and efficient: if you care about the data, all you have
to do is listen. A downside is of course that you're, well, broadcasting data
to the whole network.
Mosquitto/MQTT looks interesting.
Best regards,
Andreas
On Wed, Mar 13, 2024 at 6:45 PM Gary E. Miller <gem@rellim.com> wrote:
>
> Yo Andreas!
>
> On Wed, 13 Mar 2024 12:31:47 +0100
> Andreas B <panden@gmail.com> wrote:
>
> > Not strictly a gpsd question, but with all the competence here, I just
> > have to give it a shot.
>
> Close enough.
>
> > What's the best way of broadcasting nmea (or other data) to the
> > network? Can gpsd do this, or do you use netcat/socat?
>
> gpsd serves TCP lcients, so not broadcast. I'd give netcat a try.
>
> Any reason not to use TCP?
>
> RGDS
> GARY
> ---------------------------------------------------------------------------
> Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
> gem@rellim.com Tel:+1 541 382 8588
>
> Veritas liberabit vos. -- Quid est veritas?
> "If you can't measure it, you can't improve it." - Lord Kelvin
[Prev in Thread] | Current Thread | [Next in Thread] |