Skip to content
floviolleau edited this page Sep 27, 2020 · 2 revisions

Welcome to the geolocation-tcp wiki!

Overview

Simple TCP server which interfaces the Windows 8 Location API and serves NMEA sentences. Intended for use with OpenCPN.

I have tested my Galaxy Book 10.6.

Feedback is most welcome.

How to use

  1. Download GeolocationTCP-r9.exe. You might also need GeolocationTCP.exe.config. Place it in the same directory as GeolocationTCP-r9.exe. Start the program.
  2. Open OpenCPN, go to Options > Connections and create new Network connection with Adress 127.0.0.1 and DataPort 15555.

Note

  • Windows will try to locate your position using either of these sources: Cellular, Wifi, Satellite. Thus if you want to see what you get offshore, turn off your cellular and wifi connections.
  • The frequency of location updates might be quite irregular.
  • If your position is off, try Settings > User Interface and set Show Lat/Long as to Degrees, Minutes, Seconds.

Building

See Using Windows 8* WinRT API from desktop applications on how to setup VS Express.

Credits

  1. edrazy
  2. kalmangabriel
  3. Petr Simon
Clone this wiki locally