Comments (2)
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.
from nmea0183.
from nmea0183.
Related Issues (20)
- Setting units of measure when creating a GGA message HOT 4
- forgotten iBuf++ in File NMEA0183.cpp ? HOT 1
- logic error in tNMEA0183::Init(...) HOT 1
- timezone error in tNMEA0183Msg:makeTime(..) HOT 4
- status == 'A' or 'V' not being returned by NMEA0183ParseRMC
- WindAngle returned in Deg HOT 1
- MWV True wind != Theoretical wind HOT 2
- LatLonToDouble(const char *data, const char sign) return 0 instead NA when given "" HOT 1
- Added GSV parser HOT 3
- ParseDPT, DBS or DBK missing HOT 4
- Duplicate definitions of the NMEA2000 object HOT 2
- NMEA checksum should accept lowercase HOT 2
- Parsing NMEA messages should be robust against to much fields HOT 5
- Missing class name for breaktime in NMEA0183Messages.cpp and missing macro in NMEA0183Msgs.h HOT 1
- Unit problem in ROT (and others?) HOT 1
- glonass HOT 1
- Use library to only parse sentence HOT 1
- Checksum use ? (Always ON?) HOT 6
- HDG,HDM,HDT conversion to 127250 (and reverse conversion in N2kDataToNMEA0183)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmea0183.