aboutsummaryrefslogtreecommitdiff
path: root/include/stick10_commands.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/stick10_commands.h')
-rw-r--r--include/stick10_commands.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/stick10_commands.h b/include/stick10_commands.h
index 13aa24f..1c21eee 100644
--- a/include/stick10_commands.h
+++ b/include/stick10_commands.h
@@ -139,6 +139,11 @@ class GetHOTP : Command<CommandID::GET_CODE> {
uint8_t code[18];
bool isValid() const { return true; }
+ std::string dissect() const {
+ std::stringstream ss;
+ ss << "code:\t" << (code) << std::endl;
+ return ss.str();
+ }
} __packed;
typedef Transaction<command_id(), struct CommandPayload, struct EmptyPayload>