GPSMsg::GetNMEAString

Windows CE 5.0 Not SupportedWindows Embedded NavReady 2009 Supported

10/16/2008

This method returns the National Marine Electronics Association (NMEA) standard-formatted ASCII string.

Syntax

int GetNMEAString(
  char *buf,
  int bufSize
);

Parameters

  • buf
    [in/out] String buffer that on return will contain the National Marine Electronics Association (NMEA) standard-formatted ASCII string.
  • bufSize
    [in] Specifies the length of the string buffer.

Return Value

Returns the actual zero-based length of the NMEA string that is returned in the buf parameter.

Remarks

You must parse the NMEA string into a readable format in order to derive location information from it, such as latitude and longitude.

For information about creating a location object that describes a location on earth, see WGS84 Class.

Requirements

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

See Also

Reference

GPSMsg Class
MSN Direct Services Classes