aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/command_id.h10
1 files changed, 10 insertions, 0 deletions
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