7#ifndef LOGICALACCESS_MIFAREULTRALIGHTSTORAGECARDSERVICE_HPP
8#define LOGICALACCESS_MIFAREULTRALIGHTSTORAGECARDSERVICE_HPP
19#define STORAGECARDSERVICE_MIFARE_ULTRALIGHT "MifareUltralightStorage"
49 void erase(std::shared_ptr<Location> location,
50 std::shared_ptr<AccessInfo> aiToUse)
override;
60 void writeData(std::shared_ptr<Location> location,
61 std::shared_ptr<AccessInfo> aiToUse,
62 std::shared_ptr<AccessInfo> aiToWrite,
const ByteVector &data,
73 ByteVector readData(std::shared_ptr<Location> location,
74 std::shared_ptr<AccessInfo> aiToUse,
size_t length,
85 ByteVector readDataHeader(std::shared_ptr<Location> location,
86 std::shared_ptr<AccessInfo> aiToUse)
override;
95 return std::dynamic_pointer_cast<MifareUltralightChip>(getChip());
The Mifare Ultralight base profile class.
Definition: mifareultralightstoragecardservice.hpp:26
std::shared_ptr< MifareUltralightChip > getMifareUltralightChip() const
Definition: mifareultralightstoragecardservice.hpp:93
std::string getCSType() override
Definition: mifareultralightstoragecardservice.hpp:39
The base storage card service class for all storage services.
Definition: storagecardservice.hpp:30
std::vector< uint8_t > ByteVector
Definition: lla_fwd.hpp:80
#define STORAGECARDSERVICE_MIFARE_ULTRALIGHT
Definition: mifareultralightstoragecardservice.hpp:19
CardBehavior
The card behaviors.
Definition: storagecardservice.hpp:20