diff options
author | Szczepan Zalega <szczepan@nitrokey.com> | 2018-06-23 11:52:30 +0200 |
---|---|---|
committer | Szczepan Zalega <szczepan@nitrokey.com> | 2018-06-23 11:52:30 +0200 |
commit | 5d4003a6053667ec4ef75a5b39e38cf3f305cbea (patch) | |
tree | ff98294621521b3ab3bb6b72f23338b7dbadfd11 /libnitrokey/stick20_commands.h | |
parent | 7c06025c9b9c28c642c8acc8bab7cbc974cd5575 (diff) | |
parent | ce0a70318adf6f68cf99c3fcb3c030161e2addd2 (diff) | |
download | libnitrokey-5d4003a6053667ec4ef75a5b39e38cf3f305cbea.tar.gz libnitrokey-5d4003a6053667ec4ef75a5b39e38cf3f305cbea.tar.bz2 |
Merge branch 'handle_wink_command'
Handle WINK command, introduced in Storage v0.52
Diffstat (limited to 'libnitrokey/stick20_commands.h')
-rw-r--r-- | libnitrokey/stick20_commands.h | 6 |
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> |