GPSMsg Class

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This class represents a message that contains GPS location data that is encoded in a National Marine Electronics Association (NMEA) standard-formatted ASCII string.

Syntax

class GPSMsg : public Msg 

Methods

Method Description

GPSMsg::GetErrorCode

Returns the error code for this GPS message.

GPSMsg::GetNMEAString

Returns the National Marine Electronics Association (NMEA) standard-formatted ASCII string.

Remarks

This class inherits from the Msg Class.

Some DBR701 receiver-hardware platforms support the tunneling of GPS location data through a private network between the MSN Direct receiver and a GPS driver. When the receiver receives the NMEA string, it can send a GPS message to the host device.

If the MSN Direct service type is GPS_MESSAGE, then the incoming message is an NMEA string. You can typecast it to a GPSMsg object.

Each NMEA string begins with a "$" character and ends with "\n" characters. NMEA strings can have variable lengths. No acknowledgement messages are sent back to the MSN Direct receiver upon receipt of an NMEA string.

For more information about NMEA, see this Web site.

In MSN Direct services for Windows Embedded CE, the host device is the Windows Embedded CE powered device.

Requirements

Header DBRLib.h
Library DBRLib.lib
Windows Embedded CE Windows CE 5.0, Windows Embedded NavReady 2009

See Also

Reference

WGS84 Class
LocationMsg Class
MSN Direct Services Classes