Limited Promotion: Mesa 2 and Allegro 2/3 Accessories
search

Developing apps to use GPS on the Mesa 2

4 Nov 2016

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.

https://msdn.microsoft.com/en-us/library/windows/hardware/dn614612(v=vs.85).aspx

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 uBlox 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.

https://www.nmea.org/content/nmea_standards/nmea_0183_v_410.asp

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.

https://www.u-blox.com/sites/default/files/products/documents/u-blox7-to-u-blox8-M8-FW301-SWMigrationGuide_AN_(UBX-15031124).pdf

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

https://www.u-blox.com/en/product/u-center-windows