GPGGAData

struct eduponz::easynmea::GPGGAData : public eduponz::easynmea::NMEA0183Data

Struct for data from GPGGA sentences.

Public Functions

GPGGAData() noexcept

Default constructor; it empty-initializes the struct, setting kind to NMEA0183DataKind::GPGGA

bool operator==(const GPGGAData &other) const noexcept

Check whether a GPGGAData is equal to this one

Return

true if equal; false otherwise

Parameters
  • [in] other: A constant reference to the GPGGAData to compare with this one

bool operator!=(const GPGGAData &other) const noexcept

Check whether a GPGGAData is different from this one

Return

true if different; false otherwise

Parameters
  • [in] other: A constant reference to the GPGGAData to compare with this one

Public Members

float timestamp

UTC time hhmmss.milliseconds.

float latitude

Latitude in degrees referred to North.

float longitude

Longitude in degrees referred to East.

uint16_t fix

GNSS Fix

  • 0: no fix

  • 1 -> fix

  • 2 -> differential fix

uint16_t satellites_on_view

Number of satellites on view.

float horizontal_precision

GNSS horizontal precision expressed in meters.

float altitude

GNSS reported altitude over sea level expressed in meters.

float height_of_geoid

Height of geoid above WGS84 ellipsoid in meters.

float dgps_last_update

Seconds since last DGPS update.

uint16_t dgps_reference_station_id

DGPS reference station ID.