-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RMC sentence missing field 12, Status - NMEA v2.3 and later #39
Comments
Sorry for delay - have been busy with N2k. It could be in this way: inline bool NMEA0183SetRMC(tNMEA0183Msg &NMEA0183Msg, double GPSTime, double Latitude, double Longitude, Then you would have new interface to set FAA indicator and also NMEA 4.1 NavStatus. If set to 0, fields will not be populated. So this would not change behavious in case old interface has been used. |
That works, thanks!
Joe Mattioni
WDPS Software
www.wdpsoftware.com <https://www.wdpsoftware.com/>
From: Timo Lappalainen ***@***.***
Sent: Monday, October 03, 2022 11:51 AM
To: ttlappalainen/NMEA0183
Cc: Joseph Mattioni; Author
Subject: Re: [ttlappalainen/NMEA0183] RMC sentence missing field 12, Status - NMEA v2.3 and later (Issue #39)
Sorry for delay - have been busy with N2k.
It could be in this way:
bool NMEA0183SetRMC(tNMEA0183Msg &NMEA0183Msg, double GPSTime, double Latitude, double Longitude,
double TrueCOG, double SOG, unsigned long DaysSince1970, double Variation,
char FAAModeIndicator, char NavStatus, const char *Src="GP");
inline bool NMEA0183SetRMC(tNMEA0183Msg &NMEA0183Msg, double GPSTime, double Latitude, double Longitude,
double TrueCOG, double SOG, unsigned long DaysSince1970, double Variation, const char *Src="GP") {
NMEA0183SetRMC(NMEA0183Msg,GPSTime,Latitude,Longitude,TrueCOG,SOG,DaysSince1970,Variation,0,0,Src);
}
Then you would have new interface to set FAA indicator and also NMEA 4.1 NavStatus. If set to 0, fields will not be populated. So this would not change behavious in case old interface has been used.
—
Reply to this email directly, view it on GitHub <#39 (comment)> , or unsubscribe <https://github.com/notifications/unsubscribe-auth/AEFMH5DMSOYXWTYDC4SDIOTWBL6G7ANCNFSM6AAAAAAQVDWZQY> .
You are receiving this because you authored the thread.Image removed by sender.Message ID: ***@***.***>
|
A new field (12, FAA Mode Indicator) was added to the RMC sentence in NMEA v2.3. The Set and Parse for this sentence should support this new field.
The content of this field is a single status character: A - Data Valid, or V - Data Invalid. Some devices expecting this field will ignore the entire message if field 12 is missing.
Reference: OpenCPN:
https://www.opencpn.org/wiki/dokuwiki/doku.php?id=opencpn:opencpn_user_manual:advanced_features:nmea_sentences
The text was updated successfully, but these errors were encountered: