From 75bbfc7d9e3d0f26a507c494b1e94fe71fa26ad0 Mon Sep 17 00:00:00 2001 From: Szczepan Zalega Date: Mon, 21 Mar 2016 08:46:27 +0100 Subject: fixed device status logging --- include/stick10_commands.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/stick10_commands.h') 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 { 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 -- cgit v1.2.1