LibLogicalAccess  2.5.0
An Open Source RFID Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Private Attributes | List of all members
logicalaccess::OSDPChannel Class Reference

OSDP Channel class. More...

#include <osdpchannel.hpp>

Public Member Functions

 OSDPChannel ()
 Constructor.
 
 ~OSDPChannel ()
 Destructor.
 
ByteVector createPackage ()
 
void unPackage (ByteVector result)
 
void setAddress (unsigned char address)
 
unsigned char getAddress () const
 
void setSequenceNumber (unsigned char sequenceNumber)
 
unsigned char getSequenceNumber () const
 
void setData (ByteVector data)
 
ByteVectorgetData ()
 
void setCommandsType (OSDPCommandsType replyType)
 
OSDPCommandsType getCommandsType () const
 
OSDPSecureChannelType getSecurityBlockType () const
 
void setSecurityBlockType (OSDPSecureChannelType securityBlockType)
 
void setSecurityBlockData (ByteVector data)
 
ByteVectorgetSecurityBlockData ()
 
void setInstallMode (bool installMode)
 
bool getInstallMode () const
 
std::shared_ptr< OSDPSecureChannelgetSecureChannel () const
 
void setSecureChannel (std::shared_ptr< OSDPSecureChannel > securechannel)
 

Public Attributes

bool isSCB
 

Private Attributes

unsigned char m_address
 
unsigned char m_sequenceNumber
 
ByteVector m_data
 
OSDPCommandsType m_reply_type
 
OSDPSecureChannelType m_securityBlockType
 
ByteVector m_securityBlockData
 
bool m_installMode
 
std::shared_ptr< OSDPSecureChannelm_secureChannel
 

Detailed Description

OSDP Channel class.

Constructor & Destructor Documentation

◆ OSDPChannel()

logicalaccess::OSDPChannel::OSDPChannel ( )

Constructor.

◆ ~OSDPChannel()

logicalaccess::OSDPChannel::~OSDPChannel ( )
inline

Destructor.

Member Function Documentation

◆ createPackage()

ByteVector logicalaccess::OSDPChannel::createPackage ( )

◆ getAddress()

unsigned char logicalaccess::OSDPChannel::getAddress ( ) const
inline

◆ getCommandsType()

OSDPCommandsType logicalaccess::OSDPChannel::getCommandsType ( ) const
inline

◆ getData()

ByteVector & logicalaccess::OSDPChannel::getData ( )
inline

◆ getInstallMode()

bool logicalaccess::OSDPChannel::getInstallMode ( ) const
inline

◆ getSecureChannel()

std::shared_ptr< OSDPSecureChannel > logicalaccess::OSDPChannel::getSecureChannel ( ) const
inline

◆ getSecurityBlockData()

ByteVector & logicalaccess::OSDPChannel::getSecurityBlockData ( )
inline

◆ getSecurityBlockType()

OSDPSecureChannelType logicalaccess::OSDPChannel::getSecurityBlockType ( ) const
inline

◆ getSequenceNumber()

unsigned char logicalaccess::OSDPChannel::getSequenceNumber ( ) const
inline

◆ setAddress()

void logicalaccess::OSDPChannel::setAddress ( unsigned char  address)
inline

◆ setCommandsType()

void logicalaccess::OSDPChannel::setCommandsType ( OSDPCommandsType  replyType)
inline

◆ setData()

void logicalaccess::OSDPChannel::setData ( ByteVector  data)
inline

◆ setInstallMode()

void logicalaccess::OSDPChannel::setInstallMode ( bool  installMode)
inline

◆ setSecureChannel()

void logicalaccess::OSDPChannel::setSecureChannel ( std::shared_ptr< OSDPSecureChannel securechannel)
inline

◆ setSecurityBlockData()

void logicalaccess::OSDPChannel::setSecurityBlockData ( ByteVector  data)
inline

◆ setSecurityBlockType()

void logicalaccess::OSDPChannel::setSecurityBlockType ( OSDPSecureChannelType  securityBlockType)
inline

◆ setSequenceNumber()

void logicalaccess::OSDPChannel::setSequenceNumber ( unsigned char  sequenceNumber)
inline

◆ unPackage()

void logicalaccess::OSDPChannel::unPackage ( ByteVector  result)

Member Data Documentation

◆ isSCB

bool logicalaccess::OSDPChannel::isSCB

◆ m_address

unsigned char logicalaccess::OSDPChannel::m_address
private

◆ m_data

ByteVector logicalaccess::OSDPChannel::m_data
private

◆ m_installMode

bool logicalaccess::OSDPChannel::m_installMode
private

◆ m_reply_type

OSDPCommandsType logicalaccess::OSDPChannel::m_reply_type
private

◆ m_secureChannel

std::shared_ptr<OSDPSecureChannel> logicalaccess::OSDPChannel::m_secureChannel
private

◆ m_securityBlockData

ByteVector logicalaccess::OSDPChannel::m_securityBlockData
private

◆ m_securityBlockType

OSDPSecureChannelType logicalaccess::OSDPChannel::m_securityBlockType
private

◆ m_sequenceNumber

unsigned char logicalaccess::OSDPChannel::m_sequenceNumber
private

The documentation for this class was generated from the following files: