LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
logicalaccess::ISO14443ReaderCommunication Class Reference

A ISO 14443-3 reader communication base class. More...

#include <iso14443readercommunication.hpp>

Inheritance diagram for logicalaccess::ISO14443ReaderCommunication:
logicalaccess::ReaderCommunication logicalaccess::ISO14443AReaderCommunication logicalaccess::ISO14443BReaderCommunication

Public Member Functions

 ISO14443ReaderCommunication ()
 Constructor.
 
ByteVector request () override
 Send a REQ command from the PCD to the PICC.
 
ByteVector anticollision () override
 Manage collision.
 
void selectIso (const ByteVector &uid) override
 Select a PICC.
 
virtual void halt ()
 Send a HLT command from the PCD to the PICC.
 
- Public Member Functions inherited from logicalaccess::ReaderCommunication
virtual ~ReaderCommunication ()=default
 
 ReaderCommunication ()
 
virtual ByteVector request ()=0
 Send a request command from the PCD to the PICC.
 
virtual ByteVector anticollision ()=0
 Manage collision.
 
virtual void selectIso (const ByteVector &uid)=0
 Select a PICC.
 
- Public Member Functions inherited from logicalaccess::ISO14443AReaderCommunication
virtual ~ISO14443AReaderCommunication ()=default
 
virtual ByteVector requestA ()=0
 Send a REQA command from the PCD to the PICC.
 
virtual ByteVector requestATS ()=0
 Send a RATS command from the PCD to the PICC.
 
virtual void haltA ()=0
 Send a HLTB command from the PCD to the PICC.
 
virtual ByteVector anticollisionA ()=0
 Manage collision.
 
- Public Member Functions inherited from logicalaccess::ISO14443BReaderCommunication
virtual ~ISO14443BReaderCommunication ()=default
 
virtual ByteVector requestB (unsigned char afi=0x00)=0
 Send a REQB command from the PCD to the PICC.
 
virtual void haltB ()=0
 Send a HLTB command from the PCD to the PICC.
 
virtual void attrib ()=0
 Send a attrib command from the PCD to the PICC.
 
virtual ByteVector anticollisionB (unsigned char afi=0x00)=0
 Manage collision.
 

Protected Attributes

ReaderCommunicationMode d_rcMode
 The current reader communication mode.
 

Detailed Description

A ISO 14443-3 reader communication base class.

Constructor & Destructor Documentation

◆ ISO14443ReaderCommunication()

logicalaccess::ISO14443ReaderCommunication::ISO14443ReaderCommunication ( )

Constructor.

Member Function Documentation

◆ anticollision()

ByteVector logicalaccess::ISO14443ReaderCommunication::anticollision ( )
overridevirtual

Manage collision.

Returns
PICC serial number.

Implements logicalaccess::ReaderCommunication.

◆ halt()

void logicalaccess::ISO14443ReaderCommunication::halt ( )
virtual

Send a HLT command from the PCD to the PICC.

◆ request()

ByteVector logicalaccess::ISO14443ReaderCommunication::request ( )
overridevirtual

Send a REQ command from the PCD to the PICC.

Returns
The ATQ value.

Implements logicalaccess::ReaderCommunication.

◆ selectIso()

void logicalaccess::ISO14443ReaderCommunication::selectIso ( const ByteVector uid)
overridevirtual

Select a PICC.

Parameters
uidThe PICC serial number.

Implements logicalaccess::ReaderCommunication.

Member Data Documentation

◆ d_rcMode

ReaderCommunicationMode logicalaccess::ISO14443ReaderCommunication::d_rcMode
protected

The current reader communication mode.


The documentation for this class was generated from the following files: