NMEA logs streaming over wifi

RobbieH

Well-Known Member
Joined
5 Jan 2010
Messages
198
Location
Belgium
Visit site
Hi,

I would like to start playing with the Android app iRegatta this winter but as the boat is on dry land the NMEA data from the instruments won't be too interesting.

Can anyone recommend a good application for the PC which can replay logged NMEA data over Wifi (TCP or UDP)? And if someone can recommend an app would they have some NMEA logfiles knocking around for the same that i can experiment with?

Cheers,

Robbie.
 
NavMonPC is a good free program for displaying NMEA data but you want a program that will rebroadcast the data over wifi and I don't know whether it will do that. The website will tell you.

However, I'm a little confused as to why you want to rebroadcast the data over wifi when you've received it over wifi? Ah ... just got it .... your're trying to use the PC as a "virtual boat" to broadcast to iRegatta! :)

Richard
 
NavMonPC is a good free program for displaying NMEA data but you want a program that will rebroadcast the data over wifi and I don't know whether it will do that. The website will tell you.

However, I'm a little confused as to why you want to rebroadcast the data over wifi when you've received it over wifi? Ah ... just got it .... your're trying to use the PC as a "virtual boat" to broadcast to iRegatta! :)

Richard

I just looked and NavMonPC will record the NMEA data stream to a file and can the play back that file to simulate the original. It can also output that stream as it has a port-multiplier function so you can probably direct a port to wifi. Then you just need an NMEA data file.

Richard
 
I just looked and NavMonPC will record the NMEA data stream to a file and can the play back that file to simulate the original. It can also output that stream as it has a port-multiplier function so you can probably direct a port to wifi. Then you just need an NMEA data file.

Richard

There are some logfiles on the NAVMONPC website. I'll have a play with it this weekend. Thanks for the pointers.
 
Robbie...

We recorded all our nmea data for some time a few years back to create a boat polar... We used NavMonPC and saved it all. iRegatta also worked well (was great for start line timing!) and even allowed the upload of your own polar.

If you don't find enough NMEA samples then PM me and I'll send you some real life sail data when I'm back on board. From memory the data we stored included the GPS, the Seatalk converted to NMEA (log, wind force/direction) and possibly even AIS data...
 
Just emailed myself part of the trace.. Timestamp in the GPRMC and the GPGGA sentences..

It looks like we were recording wind and depth at the same time..

$GPRMB,A,,,,,,,,,,,,V*71
$GPRMC,095957.00,A,5047.485,N,00102.071,W,000.0,000.0,270113,1.8,W*5A
$IIDBT,,,1.2,M,,*32
$IIVHW,50,T,51,M,,,*7D
$GPVHW,,,,,,,,*5E
$GPAPA,A,A,,,,,,,,*47
$GPAPB,A,A,,,,,,,,,,,,*44
$GPGGA,095958.00,5047.485,N,00102.071,W,1,08,01.0,-03.0,M,,M,0.0,0000*6B
$IIRMC,,A,5047.48,N,102.7,W,0.0,1,,,,*15
$GPBOD,,,,,,*5E
 
Just emailed myself part of the trace.. Timestamp in the GPRMC and the GPGGA sentences..

It looks like we were recording wind and depth at the same time..

The issue here (which might not matter, depending on the application) is "playing back" sentences at the same time relative to one another that they were produced. Hmm...I see a mini-project. Well that's my evening ruined...
 
NavMonPC is a good free program for displaying NMEA data but you want a program that will rebroadcast the data over wifi and I don't know whether it will do that. The website will tell you.

However, I'm a little confused as to why you want to rebroadcast the data over wifi when you've received it over wifi? Ah ... just got it .... your're trying to use the PC as a "virtual boat" to broadcast to iRegatta! :)

Richard

Yes Navmon can act as a network client or server, so you can have it route data over wifi. I've used it with no probs with the laptop connected to the router being the server and another wirelessly-connected laptop as the client. The manual explains how to configure it.
 
And I'm sure NavMonPC has the ability to play back from a file... And if you run the NavMonPC on a laptop and run that DOS command to repeat the playback to the laptop WiFi card then you'll see the data immediately on your Android running iRegatta.
 
The commands to repeat the data direct to WiFi (no other equipment needed) was something like...

netsh wlan set hostednetwork mode=allow ssid=nmea1603 key=password keyUsage=persistent
netsh wlan start hostednetwork
 
And I'm sure NavMonPC has the ability to play back from a file... And if you run the NavMonPC on a laptop and run that DOS command to repeat the playback to the laptop WiFi card then you'll see the data immediately on your Android running iRegatta.

Indeed - the play file command is in the file menu.
 
Robbie...

We recorded all our nmea data for some time a few years back to create a boat polar... We used NavMonPC and saved it all. iRegatta also worked well (was great for start line timing!) and even allowed the upload of your own polar.

If you don't find enough NMEA samples then PM me and I'll send you some real life sail data when I'm back on board. From memory the data we stored included the GPS, the Seatalk converted to NMEA (log, wind force/direction) and possibly even AIS data...

Hi Martin,

I've got a file (Pacific 2016 race data) from the NavMonPc site. I installed NavMonPC on my desktop and started it playing via the TCP server. Started iRegatta on my tablet, setup the NMEA input for wifi and it worked straight away :) (most unusual!) I am watching iRegatta recording the polar diagram now . Which is what I really want it for as I can't find any for my Arpege and I want accurate polars for weather routing etc.

Now I've got to wait until next season before recording my own but in the meantime I can set up the Wifi connected to the plotter etc. on the boat

Could you send me some NavmonPC log files just in case I want to play with another data set?

Cheers,

Robbie.
 
Might not be of much help to the OP if RobbieH's computer is windows, but for anyone facing this challenge who owns a vaguely unixy computer (mac/linux/*BSD etc.) I've hacked together a sentence replaying program. The timing is dealt with using NMEA-0183v4 TAG timestamps (for the uninitiated, that's the "official" way NMEA-0183 timestamps are done) which need to be present in the log file. kplex (also linux/mac/bsd, not windows unfortunately) can create appropriately timestamped log files which this thing (which I've cryptically called "replay183") can work with. The replay program simply prints to standard output at the appropriate time, but you can pipe that into standard input of kplex to distribute it wherever you like (network, serial lines etc.). Bit rough and ready, no guis etc. etc. Code is on github:
https://github.com/stripydog/replay183
 
There are several free/trial downleads for windows that will generate an nmea data stream for either gps or ais.
I used one to check out my wifi bridge by sending the signal out of the serial port to the serial port bridge which then transmitted the data to my hudl via a portable router.
Read the data generated by one of several AIS radar type aps.
 
Top