Added ping command functionality.

This commit is contained in:
2018-08-10 18:31:22 +00:00
parent a20c190fea
commit 2b01dbc605
11 changed files with 47 additions and 11 deletions

14
U2F_Ping_CMD.hpp Normal file
View File

@@ -0,0 +1,14 @@
#pragma once
#include <cstdint>
#include <memory>
#include "U2F_CMD.hpp"
#include "U2FMessage.hpp"
struct U2F_Ping_CMD : U2F_CMD
{
std::vector<uint8_t> nonce;
public:
U2F_Ping_CMD(const std::shared_ptr<U2FMessage> uMsg);
virtual void respond(const uint32_t channelID) const override;
};