LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
nfctag1cardservice.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_NFCTAG1CARDSERVICE_HPP
8#define LOGICALACCESS_NFCTAG1CARDSERVICE_HPP
9
13
14namespace logicalaccess
15{
16#define NFC_TAG1_CARDSERVICE "NFCTag1"
17
21class LLA_CARDS_TOPAZ_API NFCTag1CardService : public NFCTagCardService
22{
23 public:
28 explicit NFCTag1CardService(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<TopazChip> getTopazChip() const
50 {
51 return std::dynamic_pointer_cast<TopazChip>(getChip());
52 }
53};
54}
55
56#endif /* LOGICALACCESS_NFCTAG1CARDSERVICE_HPP */
The NFC Tag 1 storage card service base class.
Definition: nfctag1cardservice.hpp:22
virtual ~NFCTag1CardService()
Definition: nfctag1cardservice.hpp:33
NFCTag1CardService(std::shared_ptr< Chip > chip)
Constructor.
Definition: nfctag1cardservice.hpp:28
std::shared_ptr< TopazChip > getTopazChip() const
Definition: nfctag1cardservice.hpp:49
std::string getCSType() override
Definition: nfctag1cardservice.hpp:37
Definition: nfctagcardservice.hpp:26
Definition: asn1.hpp:9
NDEF Message.
#define NFC_TAG1_CARDSERVICE
Definition: nfctag1cardservice.hpp:16
NFC Tag card service.
Topaz chip.