NMEA2000 Library
0.1
Library to handle NMEA 2000 Communication written in C++
|
Dedicated structure to handle Data of a meterological station. More...
#include <N2kMessages.h>
Public Member Functions | |
tN2kMeteorlogicalStationData () | |
void | SetStationID (const char *id) |
Set the StationID object. More... | |
void | SetStationName (const char *name) |
Set the Station Name object. More... | |
Public Attributes | |
double | AtmosphericPressure |
Atmospheric pressure in Pascals. Use mBarToPascal, if you like to use mBar. More... | |
double | Latitude |
The latitude of the current waypoint [degree]. More... | |
double | Longitude |
The longitude of the current waypoint [degree]. More... | |
tN2kAISMode | Mode |
More... | |
double | OutsideAmbientAirTemperature |
Outside ambient temperature in K. Use CToKelvin, if you want to use °C. More... | |
char | StationID [15+1] |
Identifier of the transmitting weather station. (15 bytes max) More... | |
char | StationName [50+1] |
Friendly name of the transmitting weather station. ( 50 bytes max) More... | |
uint16_t | SystemDate |
Days since 1970-01-01. More... | |
double | SystemTime |
seconds since midnight More... | |
double | WindDirection |
Measured wind direction in radians. If you have value in degrees, use DegToRad() in call. More... | |
double | WindGusts |
Measured wind gusts speed in m/s. More... | |
tN2kWindReference | WindReference |
Wind reference, see definition tN2kWindReference. More... | |
double | WindSpeed |
Measured wind speed in m/s. More... | |
Dedicated structure to handle Data of a meterological station.
This structure should provide an a more convenient way to process data of a meterological station.
Definition at line 5301 of file N2kMessages.h.
|
inline |
Definition at line 5334 of file N2kMessages.h.
|
inline |
Set the StationID object.
id | Identifier of the transmitting weather station (15 bytes max) |
Definition at line 5356 of file N2kMessages.h.
|
inline |
Set the Station Name object.
name | Friendly name of the transmitting weather station. (50 bytes max) |
Definition at line 5367 of file N2kMessages.h.
double tN2kMeteorlogicalStationData::AtmosphericPressure |
Atmospheric pressure in Pascals. Use mBarToPascal, if you like to use mBar.
Definition at line 5323 of file N2kMessages.h.
double tN2kMeteorlogicalStationData::Latitude |
The latitude of the current waypoint [degree].
Definition at line 5309 of file N2kMessages.h.
double tN2kMeteorlogicalStationData::Longitude |
The longitude of the current waypoint [degree].
Definition at line 5311 of file N2kMessages.h.
tN2kAISMode tN2kMeteorlogicalStationData::Mode |
Definition at line 5303 of file N2kMessages.h.
double tN2kMeteorlogicalStationData::OutsideAmbientAirTemperature |
Outside ambient temperature in K. Use CToKelvin, if you want to use °C.
Definition at line 5326 of file N2kMessages.h.
char tN2kMeteorlogicalStationData::StationID[15+1] |
Identifier of the transmitting weather station. (15 bytes max)
Definition at line 5329 of file N2kMessages.h.
char tN2kMeteorlogicalStationData::StationName[50+1] |
Friendly name of the transmitting weather station. ( 50 bytes max)
Definition at line 5332 of file N2kMessages.h.
uint16_t tN2kMeteorlogicalStationData::SystemDate |
Days since 1970-01-01.
Definition at line 5305 of file N2kMessages.h.
double tN2kMeteorlogicalStationData::SystemTime |
seconds since midnight
Definition at line 5307 of file N2kMessages.h.
double tN2kMeteorlogicalStationData::WindDirection |
Measured wind direction in radians. If you have value in degrees, use DegToRad() in call.
Definition at line 5316 of file N2kMessages.h.
double tN2kMeteorlogicalStationData::WindGusts |
Measured wind gusts speed in m/s.
Definition at line 5320 of file N2kMessages.h.
tN2kWindReference tN2kMeteorlogicalStationData::WindReference |
Wind reference, see definition tN2kWindReference.
Definition at line 5318 of file N2kMessages.h.
double tN2kMeteorlogicalStationData::WindSpeed |
Measured wind speed in m/s.
Definition at line 5313 of file N2kMessages.h.