Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion GPS.NET/Ghostware.GPS.NET/GPS.NET.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package >
<metadata>
<id>Ghostware.GPS.NET</id>
<version>1.0.11</version>
<version>1.0.12</version>
<title>Ghostware.GPS.NET</title>
<authors>Kevin Goos</authors>
<owners>Ghostware</owners>
Expand All @@ -18,6 +18,10 @@
- Using the Windows location API. (Starting from windows 7)
</description>
<releaseNotes>
v1.0.12:
--------
- Temp fix for the new nmea messages

v1.0.11:
--------
- Fixing when you select wrong file not crashing
Expand Down
8 changes: 3 additions & 5 deletions GPS.NET/Ghostware.GPS.NET/Ghostware.GPS.NET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,10 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="Ghostware.NMEAParser, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\packages\Ghostware.NMEAParser.1.0.4\lib\net452\Ghostware.NMEAParser.dll</HintPath>
<Private>True</Private>
<HintPath>..\packages\Ghostware.NMEAParser.1.0.5\lib\net452\Ghostware.NMEAParser.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
Expand Down
6 changes: 3 additions & 3 deletions GPS.NET/Ghostware.GPS.NET/GpsClients/FileGpsClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions GPS.NET/Ghostware.GPS.NET/packages.config
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Ghostware.NMEAParser" version="1.0.4" targetFramework="net452" />
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
<package id="Ghostware.NMEAParser" version="1.0.5" targetFramework="net452" />
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net452" />
</packages>
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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/)