diff --git a/.gitignore b/.gitignore index 3a2238d..6c6d34f 100644 --- a/.gitignore +++ b/.gitignore @@ -242,4 +242,6 @@ ModelManifest.xml .paket/paket.exe # FAKE - F# Make -.fake/ \ No newline at end of file +.fake/ +/nuget.exe +/Package.nuspec diff --git a/Tcmp-SDK/Properties/AssemblyInfo.cs b/Tcmp-SDK/Properties/AssemblyInfo.cs index bdca02f..a844108 100644 --- a/Tcmp-SDK/Properties/AssemblyInfo.cs +++ b/Tcmp-SDK/Properties/AssemblyInfo.cs @@ -32,5 +32,5 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("0.5.2.0")] -[assembly: AssemblyFileVersion("0.5.2.0")] +[assembly: AssemblyVersion("0.5.3.0")] +[assembly: AssemblyFileVersion("0.5.3.0")] diff --git a/Tcmp-SDK/Tcmp/Communication/TappyReader.cs b/Tcmp-SDK/Tcmp/Communication/TappyReader.cs index cb48467..d278e1a 100644 --- a/Tcmp-SDK/Tcmp/Communication/TappyReader.cs +++ b/Tcmp-SDK/Tcmp/Communication/TappyReader.cs @@ -162,8 +162,6 @@ private void DataReceivedHandler(object sender, EventArgs e) Debug.WriteLine("Data is being recieve"); if (!conn.IsOpen() && responseCallback != null) responseCallback(null, new HardwareException("Connection to device is not open")); - else - Console.WriteLine("Bluegiga dongle receiving but no responseCallback assigned"); Debug.WriteLine($" Before: {BitConverter.ToString(buffer.ToArray())}"); diff --git a/Tcmp-SDK/Tcmp/Communication/UsbConnection.cs b/Tcmp-SDK/Tcmp/Communication/UsbConnection.cs index b4e74df..922d527 100644 --- a/Tcmp-SDK/Tcmp/Communication/UsbConnection.cs +++ b/Tcmp-SDK/Tcmp/Communication/UsbConnection.cs @@ -35,7 +35,7 @@ public override bool Connect(string portName) } catch { - port.PortName = null; + port.PortName= " "; return false; } } @@ -104,8 +104,7 @@ public override int Read(List buffer) public override bool getConnectionStatus() { - throw new System.NotImplementedException(); - + return IsOpen(); } public override bool getBlueGigaStatus()