LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
acsacr1222lreaderunit.hpp
Go to the documentation of this file.
1
7#ifndef LOGICALACCESS_ACSACR1222LREADERUNIT_HPP
8#define LOGICALACCESS_ACSACR1222LREADERUNIT_HPP
9
12
13namespace logicalaccess
14{
18class LLA_READERS_PCSC_API ACSACR1222LReaderUnit : public PCSCReaderUnit
19{
20 public:
24 explicit ACSACR1222LReaderUnit(const std::string &name);
25
29 virtual ~ACSACR1222LReaderUnit();
30
35 PCSCReaderUnitType getPCSCType() const override;
36
41 std::string getReaderSerialNumber() override;
42
50 bool connect() override;
51
60 void setDefaultLEDBuzzerBehavior(bool showPICCPollingStatus, bool beepOnCardEvent,
61 bool beepOnChipReset, bool blinkOnCardOperation);
62
71 void getDefaultLEDBuzzerBehavior(bool &showPICCPollingStatus, bool &beepOnCardEvent,
72 bool &beepOnChipReset, bool &blinkOnCardOperation);
73
77 std::string getFirmwareVersion();
78
82 bool waitRemoval(unsigned int maxwait) override;
83
87 bool connectToReader() override;
88
92 void disconnectFromReader() override;
93
100 std::shared_ptr<LCDDisplay> getLCDDisplay() override;
101
105 std::shared_ptr<LEDBuzzerDisplay> getLEDBuzzerDisplay() override;
106
107 std::shared_ptr<ACSACR1222LReaderUnitConfiguration> getACSACR1222LConfiguration();
108
109 protected:
110 std::shared_ptr<PCSCReaderCardAdapter> getReaderControlReaderCardAdapter();
111 std::shared_ptr<PCSCReaderCardAdapter> d_readerControlReaderCardAdapter;
112
113 std::shared_ptr<ResultChecker> createDefaultResultChecker() const override;
114
115 private:
116 void establish_background_connection();
117 void kill_background_connection();
118 std::shared_ptr<PCSCReaderUnit> sam_used_as_perma_connection_;
119};
120}
121
122#endif
ACS ACR Reader unit.
The ACS ACR 1222L reader unit class.
Definition: acsacr1222lreaderunit.hpp:19
std::shared_ptr< PCSCReaderUnit > sam_used_as_perma_connection_
Definition: acsacr1222lreaderunit.hpp:118
std::shared_ptr< PCSCReaderCardAdapter > d_readerControlReaderCardAdapter
Definition: acsacr1222lreaderunit.hpp:111
The PC/SC reader unit class.
Definition: pcscreaderunit.hpp:23
Definition: asn1.hpp:9
PCSCReaderUnitType
The reader unit types.
Definition: pcscreaderunitconfiguration.hpp:54