7#ifndef LOGICALACCESS_FELICACHIP_HPP
8#define LOGICALACCESS_FELICACHIP_HPP
19#define CHIP_FELICA "FeliCa"
21#define FELICA_CODE_NDEF_READ 0x000B
22#define FELICA_CODE_NDEF_WRITE 0x0009
58 std::shared_ptr<LocationNode> getRootLocationNode()
override;
65 std::shared_ptr<CardService> getService(
CardServiceType serviceType)
override;
71 std::shared_ptr<Location> createLocation()
const override;
79 return std::dynamic_pointer_cast<FeliCaCommands>(getCommands());
83 static void addBlockNode(std::shared_ptr<LocationNode> rootNode,
unsigned short code,
84 unsigned short block);
The base chip class for all chip. Each chip have is own object and providers according to himself and...
Definition: chip.hpp:37
The FeliCa base chip class.
Definition: felicachip.hpp:28
std::string getGenericCardType() const override
Get the generic card type.
Definition: felicachip.hpp:49
std::shared_ptr< FeliCaCommands > getFeliCaCommands() const
Get the FeliCa card provider for I/O access.
Definition: felicachip.hpp:77
#define CHIP_FELICA
Definition: felicachip.hpp:19
CardServiceType
The card services.
Definition: cardservice.hpp:35