diff --git a/GPS.NET/Ghostware.GPS.NET/GPS.NET.nuspec b/GPS.NET/Ghostware.GPS.NET/GPS.NET.nuspec index 48cb67e..a9e1709 100644 --- a/GPS.NET/Ghostware.GPS.NET/GPS.NET.nuspec +++ b/GPS.NET/Ghostware.GPS.NET/GPS.NET.nuspec @@ -2,7 +2,7 @@ Ghostware.GPS.NET - 1.0.11 + 1.0.12 Ghostware.GPS.NET Kevin Goos Ghostware @@ -18,6 +18,10 @@ - Using the Windows location API. (Starting from windows 7) + v1.0.12: + -------- + - Temp fix for the new nmea messages + v1.0.11: -------- - Fixing when you select wrong file not crashing diff --git a/GPS.NET/Ghostware.GPS.NET/Ghostware.GPS.NET.csproj b/GPS.NET/Ghostware.GPS.NET/Ghostware.GPS.NET.csproj index 039b55f..9cb9e47 100644 --- a/GPS.NET/Ghostware.GPS.NET/Ghostware.GPS.NET.csproj +++ b/GPS.NET/Ghostware.GPS.NET/Ghostware.GPS.NET.csproj @@ -31,12 +31,10 @@ - ..\packages\Ghostware.NMEAParser.1.0.4\lib\net452\Ghostware.NMEAParser.dll - True + ..\packages\Ghostware.NMEAParser.1.0.5\lib\net452\Ghostware.NMEAParser.dll - - ..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll - True + + ..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll diff --git a/GPS.NET/Ghostware.GPS.NET/GpsClients/FileGpsClient.cs b/GPS.NET/Ghostware.GPS.NET/GpsClients/FileGpsClient.cs index c8963f3..5617f91 100644 --- a/GPS.NET/Ghostware.GPS.NET/GpsClients/FileGpsClient.cs +++ b/GPS.NET/Ghostware.GPS.NET/GpsClients/FileGpsClient.cs @@ -10,7 +10,6 @@ using Ghostware.GPS.NET.Parsers; using Ghostware.NMEAParser; using Ghostware.NMEAParser.NMEAMessages; -using UnknownTypeException = Ghostware.NMEAParser.Exceptions.UnknownTypeException; namespace Ghostware.GPS.NET.GpsClients { @@ -58,8 +57,9 @@ public override bool Connect() { case FileType.Nmea: var nmeaResult = parser.Parse(line); - if (nmeaResult == null) continue; - OnGpsDataReceived(new GpsDataEventArgs((GprmcMessage)nmeaResult)); + var result = nmeaResult as GprmcMessage; + if (result == null) continue; + OnGpsDataReceived(new GpsDataEventArgs(result)); break; case FileType.Gpsd: var gpsdResult = gpsdDataParser.GetGpsData(line); diff --git a/GPS.NET/Ghostware.GPS.NET/packages.config b/GPS.NET/Ghostware.GPS.NET/packages.config index ea9047a..23b98b1 100644 --- a/GPS.NET/Ghostware.GPS.NET/packages.config +++ b/GPS.NET/Ghostware.GPS.NET/packages.config @@ -1,5 +1,5 @@  - - + + \ No newline at end of file diff --git a/README.md b/README.md index aa0e814..29e1557 100644 --- a/README.md +++ b/README.md @@ -15,3 +15,5 @@ The library contains the following ways to connect to gps services: - [Ghostware.NMEAParser](https://www.nuget.org/packages/Ghostware.NMEAParser/) ## Usefull Links +- [Wiki](https://github.com/GhostwareDev/GPS.NET/wiki) +- [NuGet Package](https://www.nuget.org/packages/Ghostware.GPS.NET/) \ No newline at end of file