aboutsummaryrefslogtreecommitdiff
path: root/libnitrokey/stick20_commands.h
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-06-23 11:47:10 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-06-23 11:47:10 +0200
commitce0a70318adf6f68cf99c3fcb3c030161e2addd2 (patch)
tree9945dd8130ed8d78e499ed6d8fe817b4486a35f5 /libnitrokey/stick20_commands.h
parentee6c9c61b93fae7e041abb19e42134d3a831a846 (diff)
downloadlibnitrokey-ce0a70318adf6f68cf99c3fcb3c030161e2addd2.tar.gz
libnitrokey-ce0a70318adf6f68cf99c3fcb3c030161e2addd2.tar.bz2
Handle WINK command
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'libnitrokey/stick20_commands.h')
-rw-r--r--libnitrokey/stick20_commands.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libnitrokey/stick20_commands.h b/libnitrokey/stick20_commands.h
index 4b75e6a..7efa1b6 100644
--- a/libnitrokey/stick20_commands.h
+++ b/libnitrokey/stick20_commands.h
@@ -275,6 +275,12 @@ namespace nitrokey {
CommandTransaction;
};
+ class Wink : Command<CommandID::WINK> {
+ public:
+ typedef Transaction<command_id(), struct EmptyPayload, struct EmptyPayload>
+ CommandTransaction;
+ };
+
class CheckSmartcardUsage : Command<CommandID::CHECK_SMARTCARD_USAGE> {
public:
typedef Transaction<command_id(), struct EmptyPayload, EmptyPayload>