From 8916f74ae6c3363c745f8859ccc4c8b8608d464b Mon Sep 17 00:00:00 2001 From: David Shalaby Date: Sat, 1 Jul 2017 18:34:38 -0400 Subject: [PATCH] Changes to BLE Blugiga library to allow kisok/keyboard wedge mode. Slightly better handling of the Bluegiga COM port connection. --- Example/MainWindow.xaml | 5 +- Example/MainWindow.xaml.cs | 68 +++-- Example/Simple Styles.xaml | 6 +- Example/Tappy Tcmp Demo.csproj | 6 +- .../System/ConfigureKioskKeyboardWedgeMode.cs | 27 ++ Tcmp-SDK/Tcmp/CommandFamilies/System/Ping.cs | 2 +- .../Tcmp/Communication/Bluetooth/BGLib.cs | 31 +- .../Bluetooth/BluetoothConnection.cs | 271 +++++++++++------- Tcmp-SDK/Tcmp/Communication/Connection.cs | 11 +- Tcmp-SDK/Tcmp/Communication/TappyReader.cs | 208 +++++++++++--- Tcmp-SDK/Tcmp/Communication/UsbConnection.cs | 37 ++- 11 files changed, 493 insertions(+), 179 deletions(-) create mode 100644 Tcmp-SDK/Tcmp/CommandFamilies/System/ConfigureKioskKeyboardWedgeMode.cs diff --git a/Example/MainWindow.xaml b/Example/MainWindow.xaml index a420d82..0c62e9b 100644 --- a/Example/MainWindow.xaml +++ b/Example/MainWindow.xaml @@ -9,7 +9,7 @@ xmlns:gif="http://wpfanimatedgif.codeplex.com" mc:Ignorable="d" WindowStartupLocation="CenterScreen" - Title="Tappy Demo 2.2" Height="650" Width="800" Foreground="{x:Null}" Background="{StaticResource LightBackground}"> + Title="Tappy Demo 2.3" Height="650" Width="800" Foreground="{x:Null}" Background="{StaticResource LightBackground}"> @@ -21,7 +21,8 @@