-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes to BLE Blugiga library to allow kisok/keyboard wedge mode. Sl…
…ightly better handling of the Bluegiga COM port connection.
- Loading branch information
Showing
11 changed files
with
493 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
Tcmp-SDK/Tcmp/CommandFamilies/System/ConfigureKioskKeyboardWedgeMode.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
namespace TapTrack.Tcmp.CommandFamilies.System | ||
{ | ||
/// <summary> | ||
/// Command to configure thee Tappy when in keyboard wedge/ kiosk mode | ||
/// </summary> | ||
public class ConfigureKioskKeyboardWedgeMode : SystemCommand | ||
{ | ||
public const byte commandCode = 0x06; | ||
|
||
public override byte CommandCode | ||
{ | ||
get | ||
{ | ||
return commandCode; | ||
} | ||
} | ||
public ConfigureKioskKeyboardWedgeMode(byte dualTagDetection, byte ndefReading, byte hearbeatPeriod, byte enableScanErrMsgs) | ||
{ | ||
this.parameters.Add(dualTagDetection); | ||
this.parameters.Add(ndefReading); | ||
this.parameters.Add(hearbeatPeriod); | ||
this.parameters.Add(enableScanErrMsgs); | ||
|
||
} | ||
|
||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.