A default Deister reader/card adapter class.
More...
#include <deisterreadercardadapter.hpp>
|
static const unsigned char | SHFT = 0xF8 |
| The shift value.
|
|
static const unsigned char | SOM = 0xFB |
| The start of message value.
|
|
static const unsigned char | SOC = 0xFD |
| The start of command value.
|
|
static const unsigned char | STOP = 0xFE |
| The stop value, end of message.
|
|
static const unsigned char | Dummy = 0xFF |
| The dummy value.
|
|
static const unsigned char | SHFT_SHFT = 0x00 |
| The shift 00 value to replace SHFT value in message.
|
|
static const unsigned char | SHFT_SOM = 0x01 |
| The shift 00 value to replace SOM value in message.
|
|
static const unsigned char | SHFT_SOC = 0x02 |
| The shift 00 value to replace SOC value in message.
|
|
static const unsigned char | SHFT_STOP = 0x03 |
| The shift 00 value to replace STOP value in message.
|
|
A default Deister reader/card adapter class.
◆ DeisterReaderCardAdapter()
logicalaccess::DeisterReaderCardAdapter::DeisterReaderCardAdapter |
( |
| ) |
|
◆ ~DeisterReaderCardAdapter()
logicalaccess::DeisterReaderCardAdapter::~DeisterReaderCardAdapter |
( |
| ) |
|
|
virtual |
◆ adaptAnswer()
Adapt the asnwer received from the reader.
- Parameters
-
answer | The answer received. |
- Returns
- The adapted answer received.
Reimplemented from logicalaccess::ReaderCardAdapter.
◆ adaptCommand()
Adapt the command to send to the reader.
- Parameters
-
command | The command to send. |
- Returns
- The adapted command to send.
Reimplemented from logicalaccess::ReaderCardAdapter.
◆ prepareDataForDevice()
Prepare data buffer for device.
- Parameters
-
data | The data buffer to prepare. |
- Returns
- The data buffer ready to send to device.
◆ prepareDataFromDevice()
ByteVector logicalaccess::DeisterReaderCardAdapter::prepareDataFromDevice |
( |
const ByteVector & |
data | ) |
|
|
staticprotected |
Prepare data buffer from device.
- Parameters
-
data | The data buffer to prepare. |
- Returns
- The data buffer ready to use.
◆ d_destination
unsigned char logicalaccess::DeisterReaderCardAdapter::d_destination |
|
protected |
Target device bus address destination.
◆ d_source
unsigned char logicalaccess::DeisterReaderCardAdapter::d_source |
|
protected |
Transmitter bus address source.
◆ Dummy
const unsigned char logicalaccess::DeisterReaderCardAdapter::Dummy = 0xFF |
|
static |
◆ SHFT
const unsigned char logicalaccess::DeisterReaderCardAdapter::SHFT = 0xF8 |
|
static |
◆ SHFT_SHFT
const unsigned char logicalaccess::DeisterReaderCardAdapter::SHFT_SHFT = 0x00 |
|
static |
The shift 00 value to replace SHFT value in message.
◆ SHFT_SOC
const unsigned char logicalaccess::DeisterReaderCardAdapter::SHFT_SOC = 0x02 |
|
static |
The shift 00 value to replace SOC value in message.
◆ SHFT_SOM
const unsigned char logicalaccess::DeisterReaderCardAdapter::SHFT_SOM = 0x01 |
|
static |
The shift 00 value to replace SOM value in message.
◆ SHFT_STOP
const unsigned char logicalaccess::DeisterReaderCardAdapter::SHFT_STOP = 0x03 |
|
static |
The shift 00 value to replace STOP value in message.
◆ SOC
const unsigned char logicalaccess::DeisterReaderCardAdapter::SOC = 0xFD |
|
static |
The start of command value.
◆ SOM
const unsigned char logicalaccess::DeisterReaderCardAdapter::SOM = 0xFB |
|
static |
The start of message value.
◆ STOP
const unsigned char logicalaccess::DeisterReaderCardAdapter::STOP = 0xFE |
|
static |
The stop value, end of message.
The documentation for this class was generated from the following files: