Skip to content
N129BZPublic

About

Ublox GPS usb dongle contol in a C# console app, written in .NET Core. Adapted from Stratux file gps.go

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

43 Commits

Folders and files

Repository files navigation

(csGPS IS NOW OBSOLETE, SEE http://github.com/N129BZ/csNMEA)

Ublox GPS usb dongle contol in a C# console app, written in .NET Core on Ubuntu Linux. Adapted from Stratux file gps.go. Huge thank you to github.com/cyoung and github.com/b3nn0 for all of their work "in the trenches" on this functionality.

NOTE: I have not been successful running this on Windows 10, and I don't have the patience to mess around with all of the B.S. dealing with dependencies and versions on Windows. If someone wants to try, good luck. It's ironic that a MS product like .NET Core works great on Linux but is a royal PITA on the mother ship.

csGPS console application can be run either of 2 ways:

  1. Call "dotnet run csGPS" and use the csGPSconfig.json file with portname and baudrate values:
    {
       "csGPSconfig": {
           "serialport": {
               "portname": "/dev/ttyACM0",
               "baudrate": 9600
            }
        }
    }
  1. Call "dotnet run csGPS" and pass the 2 value arguments (order doesn't matter)
    dotnet run csGPS /dev/ttyACM0 9600
    dotnet run csGPS 115200 /dev/ttyACM0

Dependencies:

    dotnet add package Newtonsoft.Json --version 13.0.1
    dotnet add package System.IO.Ports --version 5.0.1
    dotnet add package System.Management --version 5.0.0   

About

Ublox GPS usb dongle contol in a C# console app, written in .NET Core. Adapted from Stratux file gps.go

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages