LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
nfctag3cardservice.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_NFCTAG3CARDSERVICE_HPP
8#define LOGICALACCESS_NFCTAG3CARDSERVICE_HPP
9
13
14namespace logicalaccess
15{
16#define NFC_CARDSERVICE_TAG3 "NFCTag3"
17
21class LLA_CARDS_FELICA_API NFCTag3CardService : public NFCTagCardService
22{
23 public:
28 explicit NFCTag3CardService(std::shared_ptr<Chip> chip)
29 : NFCTagCardService(chip)
30 {
31 }
32
34 {
35 }
36
37 std::string getCSType() override
38 {
40 }
41
42 std::shared_ptr<NdefMessage> readNDEF() override;
43
44 void writeNDEF(std::shared_ptr<NdefMessage> records) override;
45
46 void eraseNDEF() override;
47
48 protected:
49 std::shared_ptr<FeliCaChip> getFeliCaChip() const
50 {
51 return std::dynamic_pointer_cast<FeliCaChip>(getChip());
52 }
53};
54}
55
56#endif /* LOGICALACCESS_NFCTAG3CARDSERVICE_HPP */
The NFC Tag 3 storage card service base class.
Definition: nfctag3cardservice.hpp:22
std::string getCSType() override
Definition: nfctag3cardservice.hpp:37
virtual ~NFCTag3CardService()
Definition: nfctag3cardservice.hpp:33
NFCTag3CardService(std::shared_ptr< Chip > chip)
Constructor.
Definition: nfctag3cardservice.hpp:28
std::shared_ptr< FeliCaChip > getFeliCaChip() const
Definition: nfctag3cardservice.hpp:49
Definition: nfctagcardservice.hpp:26
FeliCa chip.
Definition: asn1.hpp:9
NDEF Message.
#define NFC_CARDSERVICE_TAG3
Definition: nfctag3cardservice.hpp:16
NFC Tag card service.