LibLogicalAccess
2.5.0
An Open Source RFID Library
|
The NFC Tag 2 storage card service base class. More...
#include <nfctag2cardservice.hpp>
Public Member Functions | |
NFCTag2CardService (std::shared_ptr< Chip > chip) | |
Constructor. | |
virtual | ~NFCTag2CardService () |
std::string | getCSType () override |
std::shared_ptr< NdefMessage > | readNDEF () override |
std::vector< std::shared_ptr< NfcData > > | readData () |
void | writeNDEF (std::shared_ptr< NdefMessage > records) override |
void | writeData (std::shared_ptr< NfcData > records, int addr) |
void | eraseNDEF () override |
void | writeCapabilityContainer () const |
![]() | |
NFCTagCardService (std::shared_ptr< Chip > chip) | |
Constructor. | |
virtual | ~NFCTagCardService () |
virtual void | writeNDEF (std::shared_ptr< NdefMessage > records) |
virtual std::shared_ptr< NdefMessage > | readNDEF ()=0 |
virtual void | eraseNDEF () |
![]() | |
virtual | ~CardService ()=default |
CardService (std::shared_ptr< Chip > chip, CardServiceType serviceType) | |
Constructor. | |
virtual std::string | getCSType ()=0 |
std::shared_ptr< Chip > | getChip () const |
virtual CardServiceType | getServiceType () const |
Get the card service type. | |
Protected Member Functions | |
void | fillMemoryList (ByteVector data) |
int | checkForReservedArea (unsigned int addr) |
std::shared_ptr< MifareUltralightChip > | getMifareUltralightChip () const |
Protected Attributes | |
std::vector< MemoryData > | _memoryList |
![]() | |
std::shared_ptr< Chip > | d_chip |
Chip object. | |
CardServiceType | d_serviceType |
Card service type. | |
The NFC Tag 2 storage card service base class.
|
inlineexplicit |
Constructor.
chip | The chip. |
|
inlinevirtual |
|
protected |
|
overridevirtual |
Reimplemented from logicalaccess::NFCTagCardService.
|
protected |
|
inlineoverridevirtual |
Implements logicalaccess::CardService.
|
inlineprotected |
std::vector< std::shared_ptr< NfcData > > logicalaccess::NFCTag2CardService::readData | ( | ) |
|
overridevirtual |
Implements logicalaccess::NFCTagCardService.
void logicalaccess::NFCTag2CardService::writeCapabilityContainer | ( | ) | const |
void logicalaccess::NFCTag2CardService::writeData | ( | std::shared_ptr< NfcData > | records, |
int | addr | ||
) |
|
overridevirtual |
Reimplemented from logicalaccess::NFCTagCardService.
|
protected |