NMEAGps Class |
Namespace: Telogis.GeoBase.Navigation
The NMEAGps type exposes the following members.
Name | Description | |
---|---|---|
NMEAGps(SerialPort) |
Create a new NMEA GPS with the given serial port.
| |
NMEAGps(Stream) |
Create a new NMEA GPS, using an input stream. This constructor should be used for
custom hardware interfaces that can provide the NMEA data as a stream.
| |
NMEAGps(StreamReader) |
Create a new NMEA GPS, using a StreamReader as input. This constructor should be used for
replay of GPS data captured using Trace during an earlier session.
| |
NMEAGps(StreamReader, Int32) |
Create a new NMEA GPS, using a StreamReader as input. This constructor should be used for
replay of GPS data captured using Trace during an earlier session.
| |
NMEAGps(String, Int32) |
Create a new NMEA GPS with the given serial port name and baud rate.
|
Name | Description | |
---|---|---|
PortName |
Gets the name of the port, as a string.
| |
Position |
Gets the last recorded GPS Position.
| |
PoweredUp |
Gets the powered up state of the GPS interface.
|
Name | Description | |
---|---|---|
Dispose |
Powers down the GPS unit.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
PowerDown |
Closes down the GPS interface and releases the port.
| |
PowerUp |
Initializes the GPS hardware interface.
| |
Replay |
Replays the stream.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
GPSException |
Called when the GPS experiences a fatal exception that may affect its ability to
continue working.
| |
Update |
This event handler will be called every time the NMEAGps updates its position.
|
Name | Description | |
---|---|---|
SpeedThreshold |
Speed threshold of this GPS unit.
| |
Trace |
May be used to record the raw NMEA data read from the device.
|
The NMEAGps class listens for the following standard NMEA GPS sentences:
GGA - 3D location and precision information
GSA - active satellites
RMC - position, velocity and time
The NMEAGps class connects to a COM port, and is intended for interfacing directly with NMEA standard GPS hardware. This requires exclusive access to the COM port, and may not be compatible with other applications on the same device which require GPS data.
If your device supports the Microsoft GPS Intermediate Driver (GPSID), we recommend using NMEAGps with a GPSID-managed Virtual COM port. This approach will allow multiple applications to access GPS information simultaneously.
See the GPSID documentation for more details: http://msdn.microsoft.com/en-us/library/bb202128.aspx.
Related articles: The IGps Interface.