7#ifndef LOGICALACCESS_DESFIREEV1NFCTAG4CARDSERVICE_HPP
8#define LOGICALACCESS_DESFIREEV1NFCTAG4CARDSERVICE_HPP
17#define NFC_CARDSERVICE_DESFIREEV1 "DESFireEV1NFCTag4"
44 void createNFCApplication(
unsigned int aid, std::shared_ptr<DESFireKey> masterPICCKey,
45 unsigned short isoFIDApplication = 0xe105,
46 unsigned short isoFIDCapabilityContainer = 0xe103,
47 unsigned short isoFIDNDEFFile = 0xe104,
48 unsigned short NDEFFileSize = 0xff);
50 void deleteNFCApplication(
unsigned int aid,
51 std::shared_ptr<DESFireKey> masterPICCKey)
const;
53 std::shared_ptr<NdefMessage>
54 readNDEFFile(
const ByteVector &appDFName = {0xD2, 0x76, 0x00, 0x00, 0x85, 0x01, 0x01},
55 unsigned short isoFIDNDEFFile = 0xe104)
override;
57 void writeNDEF(std::shared_ptr<NdefMessage> records)
override;
59 void eraseNDEF()
override;
64 return std::dynamic_pointer_cast<DESFireEV1Chip>(getChip());
67 std::shared_ptr<ISO7816Commands> getISO7816Commands()
const override;
The DESFire storage card service base class.
Definition: desfireev1nfctag4cardservice.hpp:24
std::shared_ptr< DESFireEV1Chip > getDESFireChip() const
Definition: desfireev1nfctag4cardservice.hpp:62
std::string getCSType() override
Definition: desfireev1nfctag4cardservice.hpp:39
~DESFireEV1NFCTag4CardService()
Definition: desfireev1nfctag4cardservice.hpp:35
DESFireEV1NFCTag4CardService(std::shared_ptr< Chip > chip)
Constructor.
Definition: desfireev1nfctag4cardservice.hpp:30
The ISO7816 NFC Tag 4 storage card service base class.
Definition: iso7816nfctag4cardservice.hpp:22
#define NFC_CARDSERVICE_DESFIREEV1
Definition: desfireev1nfctag4cardservice.hpp:17
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80