OpenCPN icon indicating copy to clipboard operation
OpenCPN copied to clipboard

RFE : add read "raw n2k" YDEN & YDWG data from network

Open captcha1 opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe.

It would be good to get all the NMEA 2000 data (eg : position, COG/SOG, wind, AIS) into OpenCPN over the (Wi-Fi) network.

Describe the solution you'd like

Please read "raw NMEA 2000" from Yacht Devices YDEN & YDWG devices, as described in https://yachtd.com/downloads/ydwg02.pdf , APPENDIX E. "Format of Messages in RAW Mode" : Messages sent from Device to PC have the following form: hh:mm:ss.ddd D msgid b0 b1 b2 b3 b4 b5 b6 b7<CR><LF>

I can loan someone a YDEN device if it helps.

Describe alternatives you've considered

IEC 61162-450 and / or 61162-460 would be nice as well (but I've never seen this "in the wild").

captcha1 avatar Aug 21 '23 14:08 captcha1

I believe the design decisions around this subject were carefully considered and the programmers had good reason for the decisions made. You are asking for redesign.

rgleason avatar Aug 21 '23 21:08 rgleason

I believe Pavel will be closing this with "not implementing" comment.

rgleason avatar Aug 22 '23 12:08 rgleason

Rick... This is on the roadmap for next major OCPN release. Please do not close.

bdbcat avatar Aug 22 '23 13:08 bdbcat

Thanks. Dave

rgleason avatar Aug 22 '23 22:08 rgleason

FYI, I think this is a similar format to the Yacht Devices log format. If so then it has been implemented in TwoCan using a RegeEx parser and you can find a sample log also in TwoCan. I believe that there are also samples buried in canboat and/or SignalK. Note you will have to assemble the messages for NMEA Fast Messages similar to what has been done for SocketCAN.

TwoCanPlugIn avatar Aug 23 '23 16:08 TwoCanPlugIn