summaryrefslogtreecommitdiff
path: root/include/command_id.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/command_id.h')
-rw-r--r--include/command_id.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/command_id.h b/include/command_id.h
index 37aa5d2..87d270e 100644
--- a/include/command_id.h
+++ b/include/command_id.h
@@ -5,6 +5,9 @@
namespace nitrokey {
namespace proto {
+#define STICK20_CMD_START_VALUE 0x20
+
+
enum class CommandID : uint8_t {
GET_STATUS = 0x00,
WRITE_TO_SLOT = 0x01,
@@ -29,6 +32,9 @@ enum class CommandID : uint8_t {
CHANGE_USER_PIN = 0x14,
CHANGE_ADMIN_PIN = 0x15,
+ STICK20_CMD_SEND_PASSWORD = STICK20_CMD_START_VALUE + 18,
+ STICK20_CMD_SEND_NEW_PASSWORD = STICK20_CMD_START_VALUE + 19,
+
ENABLE_CRYPTED_PARI = 0x20,
DISABLE_CRYPTED_PARI,
ENABLE_HIDDEN_CRYPTED_PARI,