LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Classes | Namespaces | Macros
yubikeydatatransport.hpp File Reference

Yubikey transport for reader/card commands. More...

#include <logicalaccess/plugins/readers/libusb/libusbdatatransport.hpp>
#include <logicalaccess/plugins/readers/libusb/libusbreaderunit.hpp>
#include <list>

Go to the source code of this file.

Classes

struct  logicalaccess::YK_FRAME
 
class  logicalaccess::YubikeyDataTransport
 An Yubikey data transport class. More...
 

Namespaces

namespace  logicalaccess
 

Macros

#define RESP_TIMEOUT_WAIT_MASK   0x1f
 
#define RESP_TIMEOUT_WAIT_FLAG   0x20
 
#define RESP_PENDING_FLAG   0x40
 
#define SLOT_WRITE_FLAG   0x80
 
#define DUMMY_REPORT_WRITE   0x8f
 
#define YK_FLAG_MAYBLOCK   0x01 << 16
 
#define YK_CRC_OK_RESIDUAL   0xf0b8
 
#define SLOT_DATA_SIZE   64
 
#define WAIT_FOR_WRITE_FLAG   1150
 

Detailed Description

Yubikey transport for reader/card commands.

Author
Maxime C. maxim.nosp@m.e-de.nosp@m.v@isl.nosp@m.og.c.nosp@m.om

Macro Definition Documentation

◆ DUMMY_REPORT_WRITE

#define DUMMY_REPORT_WRITE   0x8f

◆ RESP_PENDING_FLAG

#define RESP_PENDING_FLAG   0x40

◆ RESP_TIMEOUT_WAIT_FLAG

#define RESP_TIMEOUT_WAIT_FLAG   0x20

◆ RESP_TIMEOUT_WAIT_MASK

#define RESP_TIMEOUT_WAIT_MASK   0x1f

◆ SLOT_DATA_SIZE

#define SLOT_DATA_SIZE   64

◆ SLOT_WRITE_FLAG

#define SLOT_WRITE_FLAG   0x80

◆ WAIT_FOR_WRITE_FLAG

#define WAIT_FOR_WRITE_FLAG   1150

◆ YK_CRC_OK_RESIDUAL

#define YK_CRC_OK_RESIDUAL   0xf0b8

◆ YK_FLAG_MAYBLOCK

#define YK_FLAG_MAYBLOCK   0x01 << 16