7#ifndef LOGICALACCESS_DESFIRESTORAGECARDSERVICE_HPP
8#define LOGICALACCESS_DESFIRESTORAGECARDSERVICE_HPP
17#define STORAGE_CARDSERVICE_DESFIRE "DESFireStorage"
48 void erase(std::shared_ptr<Location> location,
49 std::shared_ptr<AccessInfo> aiToUse)
override;
59 void writeData(std::shared_ptr<Location> location,
60 std::shared_ptr<AccessInfo> aiToUse,
61 std::shared_ptr<AccessInfo> aiToWrite,
const ByteVector &data,
71 ByteVector readData(std::shared_ptr<Location> location,
72 std::shared_ptr<AccessInfo> aiToUse,
size_t dataLength,
83 ByteVector readDataHeader(std::shared_ptr<Location> location,
84 std::shared_ptr<AccessInfo> aiToUse)
override;
89 return std::dynamic_pointer_cast<DESFireChip>(getChip());
The DESFire storage card service bas class.
Definition: desfirestoragecardservice.hpp:23
std::shared_ptr< DESFireChip > getDESFireChip() const
Definition: desfirestoragecardservice.hpp:87
std::string getCSType() override
Definition: desfirestoragecardservice.hpp:31
The base storage card service class for all storage services.
Definition: storagecardservice.hpp:30
#define STORAGE_CARDSERVICE_DESFIRE
Definition: desfirestoragecardservice.hpp:17
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
CardBehavior
The card behaviors.
Definition: storagecardservice.hpp:20