Edit

Share via


GlobalPositioningSystemFixData Class

Definition

Represents GlobalPositioningSystemFixData (GGA) NMEA0183 sentence. This message is typically preferred over RMC if it is available.

public class GlobalPositioningSystemFixData : Iot.Device.Nmea0183.Sentences.NmeaSentence
type GlobalPositioningSystemFixData = class
    inherit NmeaSentence
Public Class GlobalPositioningSystemFixData
Inherits NmeaSentence
Inheritance
GlobalPositioningSystemFixData

Constructors

GlobalPositioningSystemFixData(DateTimeOffset, GpsQuality, GeographicPosition, Nullable<Double>, Double, Int32)

Construct a message with the given values

GlobalPositioningSystemFixData(TalkerId, IEnumerable<String>, DateTimeOffset)

Construct a new sentence from the given fields. This is used by the parser

GlobalPositioningSystemFixData(TalkerSentence, DateTimeOffset)

Manually decode the given sentence

Properties

Age

Age of this message

(Inherited from NmeaSentence)
DateTime

The time tag on this message

(Inherited from NmeaSentence)
EllipsoidAltitude

Altitude above the WGS84 ellipsoid. This is following a calculation model of the earth, which is used by the satellite systems

GeoidAltitude

Altitude over the geoid. This is commonly called "altitude above sea level" and corrects for the change in gravitational pull on different places of the globe.

Hdop

Horizontal dilution of precision. A number representing the quality of the GPS fix. Lower is better.

Id

The GGA sentence identifer

LatitudeDegrees

Latitude in degrees. Positive value means north, negative means south.

LongitudeDegrees

Longitude in degrees. Positive value means east, negative means west.

NumberOfSatellites

Number of satellites in view. A maximum of 12 is reported by this message.

Position

The position

ReplacesOlderInstance

This is true for this message type

SentenceId

The sentence Id of this packet

(Inherited from NmeaSentence)
Status

GPS quality. The position is valid when this does not return NoFix

TalkerId

The talker (sender) of this message

(Inherited from NmeaSentence)
Undulation

Undulation value reported. This is the difference between the geodetic and the elipsoid height at the current location and usually provided by the GNSS receiver trough a build-in adjustment table.

Valid

True if the contents of this message are valid / understood This is false if the message type could be decoded, but the contents seem invalid or there's no useful data

(Inherited from NmeaSentence)

Methods

AgeTo(DateTimeOffset)

The relative age of this sentence against a time stamp. Useful when analyzing recorded data, where "now" should also be a time in the past.

(Inherited from NmeaSentence)
ReadChar(IEnumerator<String>)

Decodes the next field into a char

(Inherited from NmeaSentence)
ReadInt(IEnumerator<String>)

Decodes the next field into an int

(Inherited from NmeaSentence)
ReadString(IEnumerator<String>)

Decodes the next field into a string

(Inherited from NmeaSentence)
ReadValue(IEnumerator<String>)

Decodes the next field into a double

(Inherited from NmeaSentence)
ToNmeaMessage()

Translates the properties of this instance into an NMEA message

(Inherited from NmeaSentence)
ToNmeaParameterList()

Translates the properties of this instance into an NMEA message body, without TalkerId, SentenceId and checksum.

ToReadableContent()

Gets an user-readable string about this message

ToString()

Generates a readable instance of this string. Not overridable, use ToReadableContent() to override. (this is to prevent confusion with ToNmeaMessage().) Do not use this method to create an NMEA sentence.

(Inherited from NmeaSentence)

Applies to