Developing apps to use GPS in Windows

4 Nov 2016

Some basic sample code is provided at the following web page.

There are many methods that a software developer could use to access GPS and other location data on the Mesa 2. This article describes some of the various methods.

For newer software or web applications, it is recommended to use the Microsoft Windows.Devices.Geolocation or the W3C Geolocation programming functions (API). Additional information is provided at the following web page.

If doing this, make sure your app appears in and can be enabled under Start > Settings > Privacy > Location in the list to "Choose apps that can use your precise location". Some apps which used previous versions of these functions may not appear in this list, but should still be able to access "precise location" (GPS) information.

If using the built-in U-Blox NEO M8N or M8T receiver, you can find this by tapping and holding on Start, selecting Device Manager, and then looking under "Sensors" for "U-Blox GNSS Location Sensor".

Or if needed, we also provide an alternative "legacy" virtual serial port interface as can similarly be seen in Device Manager under "Ports (COM & LPT)" as "U-Blox Virtual COM Port" which should be able to support any standard baud rate.

By default, the built-in GPS receiver follows the NMEA-0183 version 4.1 standard as described at this web page.

Most previous GPS software applications were written for receivers which followed the NMEA-0183 version 2.3 standard. If your GPS software will not recognize NMEA sentences from the built-in receiver, please see the following web page.

GPS software can not see all NMEA sentences

Further details are provided in this document.

If needing to make more extensive changes to the default settings of the built-in GPS receiver, please refer to the following utility.