Closed jpcavanagh closed 7 years ago
Unfortunately, this error is by design -- I throw exceptions for message types that are not defined.
Do you have any information on this message type and the meaning of each field?
IIVWT comes from a Raymarine ST60 "integrated instrument" system which uses an internal protocol between devices and it put onto the NMEA bus via a dedicated Raymarine instrument box. Some of sentences used are very old and can be found here http://www.nmea.org/Assets/100108_nmea_0183_sentences_not_recommended_for_new_designs.pdf
In my test files I also found the HVM (magnetic heading) which is in the document referenced above
$IIHVM,2,W*36
Couldn't instantiate a NMEAPlus::Message::NMEA::IIHVM object: uninitialized constant NMEAPlus::Message::NMEA::IIHVM
Lastly I noticed that AITXT caused an error - I believe this comes from a Comar AIS transponder.
$AITXT,01,01,70,Entered a DSC Receivable Window Chan A*46
Couldn't instantiate a NMEAPlus::Message::NMEA::AITXT object: uninitialized constant NMEAPlus::Message::NMEA::AITXT
I understand that any unknown message or un-decodable string throws an error; let me know if you want to know about further valid messages which are un-implemented.
John
OK, I added new issues for those
My goal is a complete implementation of NMEA, so I'm happy to receive as many examples of un-implemented message types as you can supply. My work so far has only been limited by the availability of reference documentation and the accompanying example (so that I can write test cases).
I'm making progress on that document, which you can track here: #28
Would you feel comfortable contributing?
Sounds like good progress. What contribution would be helpful? I can create a file from a live NMEA stream which uses some of these sentences if that would help testing ?
On 20 January 2017 at 16:15, Ian notifications@github.com wrote:
I'm making progress on that document, which you can track here: #28 https://github.com/ifreecarve/nmea_plus/pull/28
Would you feel comfortable contributing?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ifreecarve/nmea_plus/issues/24#issuecomment-274111944, or mute the thread https://github.com/notifications/unsubscribe-auth/AXje7um-0MVC3p7WKHYqUfSgTGmX_ojvks5rUN2igaJpZM4Lg5aE .
I won't say no to having real-life examples of these sentences. At the moment I'm just inventing them based on what the specs look like, and hoping that they're accurate.
I'm also wondering if you'd feel comfortable copying the style that I'm using to implement these messages, and submitting your own: https://github.com/ifreecarve/nmea_plus/pull/28/commits/1916d5822b765263c6f238b14beec05eebde142a
This is now fixed in the branch: https://github.com/ifreecarve/nmea_plus/tree/2017-01-20_nmea_not_recommended
I'll be continuing to work on the document (only 17 message types to go now) before I merge and release a new gem.
Should be all set in https://rubygems.org/gems/nmea_plus/versions/1.0.20
$IIVWT,058.0,R,15.9,N,8.2,M,29.4,K*4A