Add a delay before allowing the next connection if the wrong PIN is entered

This commit is contained in:
Guillaume Meunier
2024-12-02 17:54:47 +01:00
parent 73b3a491ef
commit 043a673c59
3 changed files with 38 additions and 4 deletions
+6
View File
@@ -32,6 +32,12 @@
namespace wivrn
{
class incorrect_pin : public std::runtime_error
{
public:
incorrect_pin();
};
class wivrn_connection
{
public: