7#ifndef LOGICALACCESS_OSDPREADERUNITCONFIGURATION_HPP
8#define LOGICALACCESS_OSDPREADERUNITCONFIGURATION_HPP
11#include <logicalaccess/plugins/readers/osdp/lla_readers_osdp_api.hpp>
35 void resetConfiguration()
override;
41 void serialize(boost::property_tree::ptree &parentNode)
override;
47 void unSerialize(boost::property_tree::ptree &node)
override;
53 std::string getDefaultXmlNodeName()
const override;
59 unsigned char getRS485Address()
const;
65 void setRS485Address(
unsigned char address);
71 bool getVisualFeedback()
const;
77 void setVisualFeedback(
bool enabled);
83 bool getInstallMode()
const;
89 void setInstallMode(
bool installMode);
95 bool getTransparentMode()
const;
101 void setTransparentMode(
bool transparentMode);
108 std::shared_ptr<AES128Key> getMasterKey()
const;
114 void setMasterKey(std::shared_ptr<AES128Key> key);
116 std::shared_ptr<AES128Key> getSCBKKey()
const;
118 void setSCBKKey(std::shared_ptr<AES128Key> key);
120 std::shared_ptr<AES128Key> getSCBKDKey()
const;
122 void setSCBKDKey(std::shared_ptr<AES128Key> key);
The OSDP reader unit configuration base class.
Definition: osdpreaderunitconfiguration.hpp:20
std::shared_ptr< AES128Key > d_master_key_aes
The key used for AES enciphering.
Definition: osdpreaderunitconfiguration.hpp:148
bool d_visualFeedback
The visual feedback, true/false for enabled/disabled.
Definition: osdpreaderunitconfiguration.hpp:143
std::shared_ptr< AES128Key > d_scbk_key_aes
Definition: osdpreaderunitconfiguration.hpp:150
bool d_installMode
Install mode, true/false for install mode (= communication encryption not mandatory).
Definition: osdpreaderunitconfiguration.hpp:133
bool d_transparentMode
Transparent mode, true (Mode-01) or false (Mode-00).
Definition: osdpreaderunitconfiguration.hpp:138
unsigned char d_rs485Address
The reader RS485 address (if communication type RS485 used).
Definition: osdpreaderunitconfiguration.hpp:128
std::shared_ptr< AES128Key > d_scbk_d_key_aes
Definition: osdpreaderunitconfiguration.hpp:152
The reader unit configuration base class. Describe the configuration for a reader unit.
Definition: readerunitconfiguration.hpp:20
Reader unit configuration.