Matter::Cluster::Definitions::DoorLock::Credential
Inherits TLV::Serializable < Struct < Value < Object
Constructors
new(credential_type : CredentialType, credential_index : UInt16)
Sourcenew(any : TLV::Any)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
credential_index
This is the index of the specific credential used to authorize the lock operation in the list of credentials identified by CredentialType (e.g. schedule, PIN, RFID, etc.). This shall be set to 0 if CredentialType is ProgrammingPIN or does not correspond to a list that can be indexed into.
credential_index=(credential_index : UInt16)
This is the index of the specific credential used to authorize the lock operation in the list of credentials identified by CredentialType (e.g. schedule, PIN, RFID, etc.). This shall be set to 0 if CredentialType is ProgrammingPIN or does not correspond to a list that can be indexed into.
credential_type=(credential_type : CredentialType)
The credential type used to authorize the lock operation.
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source