From 448697c66dc7c41d8d948839645a7057bae3dd62 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Thu, 13 Oct 2016 16:58:03 +0200 Subject: NK Storage: cmd output status constants Signed-off-by: Szczepan Zalega --- include/command_id.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include') diff --git a/include/command_id.h b/include/command_id.h index 87d270e..45285aa 100644 --- a/include/command_id.h +++ b/include/command_id.h @@ -5,6 +5,16 @@ namespace nitrokey { namespace proto { +#define OUTPUT_CMD_STICK20_STATUS_IDLE 0 +#define OUTPUT_CMD_STICK20_STATUS_OK 1 +#define OUTPUT_CMD_STICK20_STATUS_BUSY 2 +#define OUTPUT_CMD_STICK20_STATUS_WRONG_PASSWORD 3 +#define OUTPUT_CMD_STICK20_STATUS_BUSY_PROGRESSBAR 4 +#define OUTPUT_CMD_STICK20_STATUS_PASSWORD_MATRIX_READY 5 +#define OUTPUT_CMD_STICK20_STATUS_NO_USER_PASSWORD_UNLOCK 6 +#define OUTPUT_CMD_STICK20_STATUS_SMARTCARD_ERROR 7 +#define OUTPUT_CMD_STICK20_STATUS_SECURITY_BIT_ACTIVE 8 + #define STICK20_CMD_START_VALUE 0x20 -- cgit v1.2.3