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

Included Modules

Defined in:

matter/cluster/definitions/door_lock.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Slice(UInt8)) #

[View source]

Instance Method Detail

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


[View source]
def 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.


[View source]
def credential_type : CredentialType #

The credential type used to authorize the lock operation.


[View source]
def credential_type=(credential_type : CredentialType) #

The credential type used to authorize the lock operation.


[View source]