struct Matter::Cluster::Definitions::DoorLock::Events::LockUserChange

Overview

Body of the DoorLock lockUserChange event

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 data_index : UInt16 | Nil #

This is the index of the specific item that was changed (e.g. schedule, PIN, RFID, etc.) in the list of items identified by LockDataType. This shall be null if the LockDataType does not correspond to a list that can be indexed into (e.g. ProgrammingUser). This shall be 0xFFFE if all indices are affected (e.g. Clear PIN Code, Clear RFID Code, Clear Week Day Schedule, Clear Year Day Schedule, etc.).


[View source]
def data_index=(data_index : UInt16 | Nil) #

This is the index of the specific item that was changed (e.g. schedule, PIN, RFID, etc.) in the list of items identified by LockDataType. This shall be null if the LockDataType does not correspond to a list that can be indexed into (e.g. ProgrammingUser). This shall be 0xFFFE if all indices are affected (e.g. Clear PIN Code, Clear RFID Code, Clear Week Day Schedule, Clear Year Day Schedule, etc.).


[View source]
def data_operation_type : DataOperationType #

The data operation performed on the lock data type changed.


[View source]
def data_operation_type=(data_operation_type : DataOperationType) #

The data operation performed on the lock data type changed.


[View source]
def fabric_index : DataType::FabricIndex | Nil #

The fabric index of the fabric that performed the change (if any). This shall be null if there is no fabric that can be determined to have caused the change. This shall NOT be null if the operation source is "Remote".


[View source]
def fabric_index=(fabric_index : DataType::FabricIndex | Nil) #

The fabric index of the fabric that performed the change (if any). This shall be null if there is no fabric that can be determined to have caused the change. This shall NOT be null if the operation source is "Remote".


[View source]
def lock_data_type : LockDataType #

The lock data type that was changed.


[View source]
def lock_data_type=(lock_data_type : LockDataType) #

The lock data type that was changed.


[View source]
def operation_source : OperationSource #

The source of the user data change.


[View source]
def operation_source=(operation_source : OperationSource) #

The source of the user data change.


[View source]
def source_node : DataType::NodeId | Nil #

The Node ID that that performed the change (if any). The Node ID of the node that performed the change. This shall be null if there was no Node involved in the change. This shall NOT be null if the operation source is "Remote".


[View source]
def source_node=(source_node : DataType::NodeId | Nil) #

The Node ID that that performed the change (if any). The Node ID of the node that performed the change. This shall be null if there was no Node involved in the change. This shall NOT be null if the operation source is "Remote".


[View source]
def user_index : UInt16 | Nil #

The lock UserIndex associated with the change (if any). This shall be null if there is no specific user associated with the data operation. This shall be 0xFFFE if all users are affected (e.g. Clear Users).


[View source]
def user_index=(user_index : UInt16 | Nil) #

The lock UserIndex associated with the change (if any). This shall be null if there is no specific user associated with the data operation. This shall be 0xFFFE if all users are affected (e.g. Clear Users).


[View source]