Windows > Software Development for Windows Client Forums > Development with the Windows Sensor and Location Platform > To retrieve NMEA Sentences from NMEA COM PORT And Get the Latitude and Longitude
Ask a questionAsk a question
 

AnswerTo retrieve NMEA Sentences from NMEA COM PORT And Get the Latitude and Longitude

  • Wednesday, July 15, 2009 1:30 PMArjun.TGM Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hello All!!!!!!!

    According to QCWWAN Connection Manager API for Gobi 2000, we have implemented Position Determination Service(PDS) functions and call back functions.
    To find out the GPS location data, Application will detect NMEA COM Port and then retrieve NMEA Senstences through NMEA COM Port.
    Then Application parses the  NMEA Strings into meaningful data ie the current latitude and longitude of the GPS hardware.


    We need one sample application how they are retrieving NMEA sentences through NMEA COM port.

    Thanking  You all in Advance

    Best
    arjun.tgm

Answers

  • Monday, July 20, 2009 6:55 PMAlec Berntson [MSFT] Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Arjun,

        Thank you for your interest in developing GPS applications. The Windows 7 Sensor and Location API is designed to work independently of NMEA COM ports and prevents the need to parse NMEA sentences. It provides a strongly typed C++ interface to retrieve location updates. You can see from here: http://msdn.microsoft.com/en-us/library/dd317747(VS.85).aspx how to retrieve the location without binding to a NMEA COM port.

    The Sensor and Location Platform does not provide a facility to handle NMEA COM Ports; if you'd like to utilize them for legacy GPS drivers, you will need to follow-up with the documentation that QCWWAN Connection Manager API for Gobi 2000 provides regarding this.


    Cheers,
       Alec

All Replies

  • Monday, July 20, 2009 6:55 PMAlec Berntson [MSFT] Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer
    Hi Arjun,

        Thank you for your interest in developing GPS applications. The Windows 7 Sensor and Location API is designed to work independently of NMEA COM ports and prevents the need to parse NMEA sentences. It provides a strongly typed C++ interface to retrieve location updates. You can see from here: http://msdn.microsoft.com/en-us/library/dd317747(VS.85).aspx how to retrieve the location without binding to a NMEA COM port.

    The Sensor and Location Platform does not provide a facility to handle NMEA COM Ports; if you'd like to utilize them for legacy GPS drivers, you will need to follow-up with the documentation that QCWWAN Connection Manager API for Gobi 2000 provides regarding this.


    Cheers,
       Alec

  • Monday, September 28, 2009 8:01 PMWindowsNT Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    I 've created today a UMDF driver that maps NMEA strings to an ISensor interface; See forum root for details.



    Michael