struct
Matter::Cluster::Definitions::DoorLock::Credential
- Matter::Cluster::Definitions::DoorLock::Credential
- Struct
- Value
- Object
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/door_lock.crConstructors
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
-
#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.
-
#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.
-
#credential_type : CredentialType
The credential type used to authorize the lock operation.
-
#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
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
Class Method Detail
Instance Method Detail
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.
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.
The credential type used to authorize the lock operation.