-
Notifications
You must be signed in to change notification settings - Fork 6
Library Types
brian-r-calder edited this page Oct 31, 2025
·
1 revision
The NMEA2000 library provides a number of enum types that specify sources of GNSS corrections, system time, etc. This information isn't easy to get at from the data file (since the types are not preserved). The information is reflected here.
N2kTypes.h object: enum tN2kTimeSource
| Value | Time Source |
|---|---|
| 0 | GPS (NavStar) |
| 1 | GLONASS |
| 2 | Radio Station |
| 3 | Local Caesium Clock |
| 4 | Local Rubidium Clock |
| 5 | Local Crystal Clock |
N2kTypes.h object: enum tN2kGNSStype. This is used for base GNSS type, and for reference station type.
| Value | GNSS Source |
|---|---|
| 0 | GPS (NavStar) |
| 1 | GLONASS |
| 2 | GPS and GLONASS |
| 3 | GPS with SBAS(WAAS) |
| 4 | GPS with SBAS(WAAS) and GLONASS |
| 5 | Chayka |
| 6 | Integrated (meaning unknown) |
| 7 | Surveyed (meaning unknown) |
| 8 | Galileo |
N2kTypes.h object: enum tN2kGNSSmethod
| Value | GNSS Method |
|---|---|
| 0 | No GNSS |
| 1 | GNSS fix |
| 2 | Differential GNSS |
| 3 | Precise GNSS |
| 4 | Fixed RTK |
| 5 | Float RTK |
| 14 | Error (meaning unknown) |
| 15 | Unavailable |
N2kTypes.h object: enum tN2kTempSource
| Value | Temperature Source |
|---|---|
| 0 | Sea temperature |
| 1 | Outside temperature |
| 2 | Inside temperature |
| 3 | Engine room temperature |
| 4 | Main cabin temperature |
| 5 | Live well temperature |
| 6 | Bait well temperature |
| 7 | Refridgeration temperature |
| 8 | Heating system temperature |
| 9 | Dewpoint temperature |
| 10 | Apparent wind chill temperature |
| 11 | Theoretical wind chill temperature |
| 12 | Heat index temperature |
| 13 | Freezer temperature |
| 14 | Exhaust gas temperature |
N2kTypes.h object: enum tN2kHumiditySource
| Value | Humidity Source |
|---|---|
| 0 | Inside humidity |
| 1 | Outside humidity |
| 255 | Undefined |
N2kTypes.h object: enum tN2kPressureSource
| Value | Pressure Source |
|---|---|
| 0 | Atmospheric pressure |
| 1 | Water pressure |
| 2 | Steam pressure |
| 3 | Compressed air pressure |
| 4 | Hydraulic pressure |