struct

Matter::Cluster::Definitions::DoorLock::Credential

Inherits TLV::Serializable < Struct < Value < Object

Constructors

new(credential_type : CredentialType, credential_index : UInt16)
Source
new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance 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.

Source
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.

Source
credential_type

The credential type used to authorize the lock operation.

Source
credential_type=(credential_type : CredentialType)

The credential type used to authorize the lock operation.

Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source