Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-10-2014, 18:34   #1
Registered User
 
Peter McNamara's Avatar

Join Date: Jan 2014
Location: Port Adelaide
Boat: Farr 38
Posts: 37
Muxing NMEA data over IP WiFi on Windows

Hello

Firstly I wish to sincerely thank any of the developers of OpenCPN who may read my thread for all their hard work in making your application the success it is. I had struggled without much success with an alternative commercial solution on my yacht for over 12 months. So now I have resigned to the fact my related investment in more recent "encrypted" versions of C-map vector maps appear to have been a dead end. Incidentally these maps appear to be no more up to date than the CM93 sources in Southern Australia where I sail.

Anyway I am wondering if any readers may have experience with Muxing NMEA data over WiFi based IP on Windows7 (64bit). I have experimented with getting 2 PCs to share this data with limited success. Does anyone have a recommended step by step "cake recipe" I can follow to setup the "host" and "slave" PCs as a WiFi LAN?

I expect the "host" PC that forwards the NMEA data from hard wired sources would likely require a static IP address then modifications to the Windows 7 firewall involved to allow the data out and then in to the "slave PC".

Has anyone had success getting this working reliably? If so does it work with more than one slave PC?

Cheers

Peter McNamara
__________________

__________________
Peter McNamara is offline   Reply With Quote
Old 05-10-2014, 02:15   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,769
Re: Muxing NMEA data over IP WiFi on Windows

Peter,

have a look at the manual - "Connections".
You will use UDP from your server and the clients just have to listen at the defined UDP port.
No need for static addresses or other complications.
We have for example one ARM/Linux board with AIS and GPS connected and this one forwards the data to the rest of the zoo: XP, W7, W8.1 (via WiFi), OS-X, Debian. All at the same time.
If you have still problems please come back with the set-up you are using (screen shot of the settings at the connections tab).

With respect to charts: you can use now as well the official charts from AHS with the S-63 plug-in for OpenCPN. There are already a few Australian users sailing with those.

Hubert
__________________

__________________
bcn is online now   Reply With Quote
Old 05-10-2014, 02:18   #3
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,968
Re: Muxing NMEA data over IP WiFi on Windows

Peter…
A rather simple method you can try is to use UDP over your local wifi net.
Now I assume you have one PC running OCPN where all NMEA wirings are connected by one or several serials. This one I call the sender and shall of course also be connected to the wifi.

The other PCs I call receivers and shall also be connected to the same wifi

In the OCPN connection box set up the sender to use a NET connection as output UDP to address 192.168.x.x and port 10110. Priority higher then the rest of your connections.
The incoming filter to receive only ZZZ, e.g. something non-existent, is to hinder the sender to mirror its own data and drown the system.

The receivers shall also use a NET, UDP connection for incoming data listening on address 0.0.0.0 and port 10110. (That's the defaults)

See my examples, although i Swedish I think you can recognize it.
Good luck and please revert if I'm unclear or any other Qs/Håkan
Attached Thumbnails
Click image for larger version

Name:	Sender.jpg
Views:	137
Size:	129.3 KB
ID:	89255   Click image for larger version

Name:	Reciever.jpg
Views:	148
Size:	136.2 KB
ID:	89256  

__________________
Hakan is online now   Reply With Quote
Old 06-10-2014, 00:48   #4
Registered User
 
Peter McNamara's Avatar

Join Date: Jan 2014
Location: Port Adelaide
Boat: Farr 38
Posts: 37
Re: Muxing NMEA data over IP WiFi on Windows

Many thanks to you both I now have the NMEA data reliably streaming to the receiver or client PC. I suggest this setup may be a useful addition to the connections area in the user manual.

Cheers

Peter Mc
__________________
Peter McNamara is offline   Reply With Quote
Old 06-10-2014, 06:18   #5
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 374
Re: Muxing NMEA data over IP WiFi on Windows

A little addition for anyone trying a beta release....

In recent betas you can make a data connection "output only" which removes the complication of setting interface priorities to avoid data loops (as Hakan mentioned). After checking the "output on this port" box uncheck the "receive input on this port" box. This more recent data connections set-up is documented in the beta wiki:
Data Connections | Official OpenCPN Homepage
__________________
muttnik is offline   Reply With Quote
Old 06-10-2014, 06:52   #6
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,968
Re: Muxing NMEA data over IP WiFi on Windows

Muttnik...
Ooooh, nice! Although having last betas I've missed that. (My screen dumps was done earlier.) But the ZZZ-filter is still valid for the stable not-beta versions of OCPN.
Thanks Håkan
__________________

__________________
Hakan is online now   Reply With Quote
Reply

Tags
nmea, wind

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help broadcasting NMEA data over a local network using UDP RhythmDoctor OpenCPN 3 02-05-2014 05:53
NMEA via ethernet/wifi Mollymawk Marine Electronics 62 03-09-2013 02:43
Transmitting NMEA data to shore via wifi Mardi Gras Marine Electronics 2 29-04-2013 17:22
Standard Horizon to Comar NMEA-2-WiFi JokersWild1967 Marine Electronics 3 25-08-2012 10:31
Raytech RNS and Windows 7 and Windows XP kene66 Marine Electronics 2 23-02-2010 15:50



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 15:01.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.