Skip to content

Commit 927c78c

Browse files
authored
Merge pull request #16 from GhostwareDev/development
Dev for a new release
2 parents 32be2b4 + 44a161d commit 927c78c

File tree

5 files changed

+15
-11
lines changed

5 files changed

+15
-11
lines changed

GPS.NET/Ghostware.GPS.NET/GPS.NET.nuspec

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>Ghostware.GPS.NET</id>
5-
<version>1.0.11</version>
5+
<version>1.0.12</version>
66
<title>Ghostware.GPS.NET</title>
77
<authors>Kevin Goos</authors>
88
<owners>Ghostware</owners>
@@ -18,6 +18,10 @@
1818
- Using the Windows location API. (Starting from windows 7)
1919
</description>
2020
<releaseNotes>
21+
v1.0.12:
22+
--------
23+
- Temp fix for the new nmea messages
24+
2125
v1.0.11:
2226
--------
2327
- Fixing when you select wrong file not crashing

GPS.NET/Ghostware.GPS.NET/Ghostware.GPS.NET.csproj

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,10 @@
3131
</PropertyGroup>
3232
<ItemGroup>
3333
<Reference Include="Ghostware.NMEAParser, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
34-
<HintPath>..\packages\Ghostware.NMEAParser.1.0.4\lib\net452\Ghostware.NMEAParser.dll</HintPath>
35-
<Private>True</Private>
34+
<HintPath>..\packages\Ghostware.NMEAParser.1.0.5\lib\net452\Ghostware.NMEAParser.dll</HintPath>
3635
</Reference>
37-
<Reference Include="Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
38-
<HintPath>..\packages\Newtonsoft.Json.9.0.1\lib\net45\Newtonsoft.Json.dll</HintPath>
39-
<Private>True</Private>
36+
<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
37+
<HintPath>..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
4038
</Reference>
4139
<Reference Include="System" />
4240
<Reference Include="System.Core" />

GPS.NET/Ghostware.GPS.NET/GpsClients/FileGpsClient.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
using Ghostware.GPS.NET.Parsers;
1111
using Ghostware.NMEAParser;
1212
using Ghostware.NMEAParser.NMEAMessages;
13-
using UnknownTypeException = Ghostware.NMEAParser.Exceptions.UnknownTypeException;
1413

1514
namespace Ghostware.GPS.NET.GpsClients
1615
{
@@ -58,8 +57,9 @@ public override bool Connect()
5857
{
5958
case FileType.Nmea:
6059
var nmeaResult = parser.Parse(line);
61-
if (nmeaResult == null) continue;
62-
OnGpsDataReceived(new GpsDataEventArgs((GprmcMessage)nmeaResult));
60+
var result = nmeaResult as GprmcMessage;
61+
if (result == null) continue;
62+
OnGpsDataReceived(new GpsDataEventArgs(result));
6363
break;
6464
case FileType.Gpsd:
6565
var gpsdResult = gpsdDataParser.GetGpsData(line);
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Ghostware.NMEAParser" version="1.0.4" targetFramework="net452" />
4-
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" />
3+
<package id="Ghostware.NMEAParser" version="1.0.5" targetFramework="net452" />
4+
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net452" />
55
</packages>

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,5 @@ The library contains the following ways to connect to gps services:
1515
- [Ghostware.NMEAParser](https://www.nuget.org/packages/Ghostware.NMEAParser/)
1616

1717
## Usefull Links
18+
- [Wiki](https://github.com/GhostwareDev/GPS.NET/wiki)
19+
- [NuGet Package](https://www.nuget.org/packages/Ghostware.GPS.NET/)

0 commit comments

Comments
 (0)