Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 03-02-2018, 15:51   #16
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Ethernet AIS and radar into OpenCPN

I'm not aware of NMEA0183 permitting binary, non-ASCII payload, at the beginning of the sentence or anywhere else in it. My source of information is for example NMEA Revealed
As from this and other recent threads you seem to know everything about it, I'm expecting you will correct me by linking a reliable source proving me and my sources wrong.
I sure do agree Furuno is doing their own thing though.
nohal is offline   Reply With Quote
Old 03-02-2018, 16:16   #17
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,806
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by DotDun View Post
Broken by what standard?

I'm not aware of any standard for NMEA0183 over IP, hence Furuno is doing their own thing.
look here:

IEC61162-450 - Lightweight Ethernet (NMEA0183 over Ethernet)
NMEA0183 = IEC61162-1
The industry response for vessels vs. NMEA2000 for leisure boats

UDP Multicast.....
bcn is offline   Reply With Quote
Old 03-02-2018, 16:24   #18
Registered User

Join Date: Jun 2007
Location: SW Florida
Boat: FP Belize, 43' - Dot Dun
Posts: 3,823
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by nohal View Post
I'm not aware of NMEA0183 permitting binary, non-ASCII payload, at the beginning of the sentence or anywhere else in it. My source of information is for example NMEA Revealed
As from this and other recent threads you seem to know everything about it, I'm expecting you will correct me by linking a reliable source proving me and my sources wrong.
I sure do agree Furuno is doing their own thing though.
First, the standard you reference is NMEA0183 over RS422, not NMEA0183 over IP.

My point is since there is no standard for NMEA0183 over IP, each manufacturer is free to do whatever they see fit. Just because Furuno's proprietary implementation doesn't fit your idea of what it should look like doesn't make any lesser than any other manufacturer's proprietary implementation of 0183 over IP.

Since Furuno isn't interested enough to publish their implementation, it's hard to guess the motive for their protocol.

That's what standards do, make all implementations look the same. It doesn't appear NMEA is interested in IP as they never worked on 0183 over IP and their announcement for OneNet 5+ years ago has failed to produce anything.
DotDun is offline   Reply With Quote
Old 03-02-2018, 16:36   #19
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,806
Re: Ethernet AIS and radar into OpenCPN

DotDun,

please look here:

https://en.wikipedia.org/wiki/IEC_61162

If you search for IEC61162-450 you will find some more references.

To start:
https://rietman.wordpress.com/2016/0...in-nemastudio/

http://raga3.marintek.sintef.no/MiTS...er-isis-v9.pdf
bcn is offline   Reply With Quote
Old 03-02-2018, 16:37   #20
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by DotDun View Post
First, the standard you reference is NMEA0183 over RS422, not NMEA0183 over IP.

My point is since there is no standard for NMEA0183 over IP, each manufacturer is free to do whatever they see fit. Just because Furuno's proprietary implementation doesn't fit your idea of what it should look like doesn't make any lesser than any other manufacturer's proprietary implementation of 0183 over IP.

Since Furuno isn't interested enough to publish their implementation, it's hard to guess the motive for their protocol.

That's what standards do, make all implementations look the same. It doesn't appear NMEA is interested in IP as they never worked on 0183 over IP and their announcement for OneNet 5+ years ago has failed to produce anything.
Well, as you see one post above, there is IEC61162-450 - Lightweight Ethernet (NMEA0183 over Ethernet). Which seems to be broken already by using broadcast, not multicast...

Even if there wasn't, NMEA0183 over IP is implemented industry-wide and as far as I can tell, interoperability is not a problem with anybody but 1 vendor, Furuno, because it is including binary payload we talk about here in the packets. Again, I am highly interested in links to reliable sources of information providing some insight.
nohal is offline   Reply With Quote
Old 03-02-2018, 16:53   #21
Registered User

Join Date: Jun 2007
Location: SW Florida
Boat: FP Belize, 43' - Dot Dun
Posts: 3,823
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by bcn View Post
Thanks! I wasn't aware of this. Unfortunately they want $500+ for the standard, but the overview you provided the link to has quite a bit of information.

The Furuno implementation was out several years before the IEC standard, I purchased NavNet3D in 2008, not sure if the previous VX2 supported 0183 over IP. I wonder if Furuno has any IEC61162-450 capabilities, i.e., capable of listening to an IEC talker. I would guess Furuno commercial gear supports the IEC standard.
DotDun is offline   Reply With Quote
Old 03-02-2018, 18:47   #22
Registered User

Join Date: Jun 2007
Location: SW Florida
Boat: FP Belize, 43' - Dot Dun
Posts: 3,823
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by nohal View Post
Well, as you see one post above, there is IEC61162-450 - Lightweight Ethernet (NMEA0183 over Ethernet). Which seems to be broken already by using broadcast, not multicast...

Even if there wasn't, NMEA0183 over IP is implemented industry-wide and as far as I can tell, interoperability is not a problem with anybody but 1 vendor, Furuno, because it is including binary payload we talk about here in the packets. Again, I am highly interested in links to reliable sources of information providing some insight.
Maybe Furuno doesn't want to play with everyone else? Has Furuno committed to supporting 3rd parties over IP?
DotDun is offline   Reply With Quote
Old 03-02-2018, 19:06   #23
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by DotDun View Post
Maybe Furuno doesn't want to play with everyone else? Has Furuno committed to supporting 3rd parties over IP?


I do not know and I do not care. But if it is the case, the guy designing the anecdotal “protection” should probably be fired...
nohal is offline   Reply With Quote
Old 03-02-2018, 19:14   #24
Registered User

Join Date: Jun 2007
Location: SW Florida
Boat: FP Belize, 43' - Dot Dun
Posts: 3,823
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by nohal View Post
I do not know and I do not care. But if it is the case, the guy designing the anecdotal “protection” should probably be fired...
Furuno designs a proprietary system for use between their products only, they never commit to 3rd party support, you reverse engineer it and decide you don't like it, so someone at Furuno should get fired?

Maybe you should pass your desire along to Furuno, I'm sure you would get a reaction!
DotDun is offline   Reply With Quote
Old 03-02-2018, 19:27   #25
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by DotDun View Post
Furuno designs a proprietary system for use between their products only, they never commit to 3rd party support, you reverse engineer it and decide you don't like it, so someone at Furuno should get fired?



Maybe you should pass your desire along to Furuno, I'm sure you would get a reaction!


Why should we talk to Furuno exactly? It is a matter of a two line patch to our code to deal with this issue. Whether it is some sort of intention from them or pure engineering idiocy is unimportant, at least for me.
nohal is offline   Reply With Quote
Old 03-02-2018, 20:33   #26
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,234
Re: Ethernet AIS and radar into OpenCPN

Dirk...
To get back from the blah-blah-land where we spent some not very productive time lately. The fix for the Furuno equipment sending data over UDP just got commited for the upcoming OpenCPN 4.8.2 release.
You will have to edit your configuration file and add a line EnableUDPNullHeader=1 in the [Settings] section.
May become default at some later moment when we make sure enough it does not break something else.
I have made a build for Windows (you are using Windows, right? I forgot to ask...) you can get from https://spideroak.com/storage/NZXWQY...ff6b05e166231d
Let me know if it still does not work (It does here replaying your capture). Or even if it does...

Pavel
nohal is offline   Reply With Quote
Old 04-02-2018, 02:36   #27
Registered User

Join Date: Sep 2017
Location: Circumnavigating (2017)
Boat: Ta Chiao, CT41
Posts: 20
Re: Ethernet AIS and radar into OpenCPN

And there you have it! Yes, I have a Win7pro 64bit box. The patch worked perfectly. Thank you all so much for teasing this out, and especially to Nohal for implementing the patch.

This is a breakthrough on a problem I have been messing about with off and on for years, and the fix is exciting. For one thing, this means that I now have FULL AIS and navigation display redundancy, so I can use OpenCPN even if the chartplotter is off by just using the AIS stream from the ethernet. (Until now, my workaround for redundancy was to plug in a handheld Garmin 76 into OpenCPN via serial, but of course, no AIS functionality there.)
Attached Thumbnails
Click image for larger version

Name:	OpenCPN4.8.10203_scn.png
Views:	149
Size:	308.9 KB
ID:	163408  
Daurin is offline   Reply With Quote
Old 04-02-2018, 02:56   #28
Registered User

Join Date: Sep 2017
Location: Circumnavigating (2017)
Boat: Ta Chiao, CT41
Posts: 20
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by nohal View Post
Dirk...
3) There is nothing that looks like some data from a broadband radar, only NMEA0183 on the two above ports. You can stop using the radar plugin as there is no chance it will do something in your current configuration.
It's possible the radar is not outputting from the 1720/1724C NT to the network. The manual does not seem to cover radar output to the network (see photo). What should the broadband radar sentence look like?
Attached Thumbnails
Click image for larger version

Name:	20180204_125218.jpg
Views:	126
Size:	401.1 KB
ID:	163424  
Daurin is offline   Reply With Quote
Old 04-02-2018, 03:11   #29
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,286
Re: Ethernet AIS and radar into OpenCPN

Pavel.
Win10/XP
Just for info I've tried using EnableUDPNullHeader=1 and what I can stress it's not disturbing any "normal" NMEA traffic by Wifi/Net (or serial).
I'll also try the FA50 capture in Win to see if I get the same result as Daurin.

This is good! The Furuno idea to "lock" there gadgets to work only within there's own net is partly broken with this?? (For example they have some GPS that won't work on Raymarine's plotter, or vice versa. Now OCPN is again the best solution!)

Håkan
Hakan is offline   Reply With Quote
Old 04-02-2018, 03:37   #30
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Ethernet AIS and radar into OpenCPN

Quote:
Originally Posted by muttnik View Post
I *think* you can ignore stuff you might find about furuno data being dropped because of the headers which precede the data: I think it was Nohal whose rework of the nmea parsing should have sorted that out.
Quote:
Originally Posted by nohal View Post
May become default at some later moment when we make sure enough it does not break something else.
My bad for suggesting that this was already fixed: What *was* fixed some years ago was the problem where sentences would be dropped if they were preceded by v4 TAGs but revisiting the code I see that maneuvering to the beginning of a sentence is done using string operations which don't work if there's a null before the $ or !.

When people were complaining about TAGs breaking their parsing I recall seeing a statement in a presentation I found online somewhere (USCG?) that folks parsing sentences correctly wouldn't have a problem where "correctly" was simply to discard everything before $ or ! and start from there.

My github-** has not been strong enough (or more likely the morning coffee wasn't) to find your what you've done to fix this but assuming it's just that (forget substrs and find_last_ofs and just move to the first $ or !) I'd say you can have a fair degree of confidence that this is the right thing to do. It's what kplex has done for the past 5-ish years and no-one has complained about it yet.
muttnik is offline   Reply With Quote
Reply

Tags
ais, enc, opencpn, radar


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
SERIAL TO ETHERNET FOR AIS xsteel Marine Electronics 1 03-02-2018 16:38
Navico Radar/Ethernet Question Dockhead OpenCPN 6 11-07-2017 02:19
For Sale: Raymarine SR6 Sirius Marine Weather Radio and Ethernet Switch Bill S Classifieds Archive 4 20-10-2014 00:56
How to connect AIS with Ethernet in Opencpn rakhesh Navigation 9 28-06-2012 10:02
How to get GPS data from Delormo LT-20 GPS and Raymarine (ethernet) on my desktop? velero OpenCPN 1 29-03-2011 13:36

Advertise Here


All times are GMT -7. The time now is 20:42.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.