struct Matter::Cluster::Definitions::LevelControl::MoveRequest

Overview

Input to the LevelControl move command

Included Modules

Defined in:

matter/cluster/definitions/level_control.cr

Constructors

Instance Method Summary

Constructor Detail

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

[View source]

Instance Method Detail

def mask : UInt8 #

[View source]
def mask=(mask : UInt8) #

[View source]
def move_mode : MoveMode #

The MoveMode field shall be one of the non-reserved values in Values of the MoveMode Field.


[View source]
def move_mode=(move_mode : MoveMode) #

The MoveMode field shall be one of the non-reserved values in Values of the MoveMode Field.


[View source]
def override : UInt8 #

[View source]
def override=(override : UInt8) #

[View source]
def rate : UInt8 #

The Rate field specifies the rate of movement in units per second. The actual rate of movement SHOULD be as close to this rate as the device is able. If the Rate field is equal to null, then the value in DefaultMoveRate attribute shall be used. However, if the Rate field is equal to null and the DefaultMoveRate attribute is not supported, or if the Rate field is equal to null and the value of the DefaultMoveRate attribute is equal to null, then the device SHOULD move as fast as it is able. If the device is not able to move at a variable rate, this field may be disregarded.


[View source]
def rate=(rate : UInt8) #

The Rate field specifies the rate of movement in units per second. The actual rate of movement SHOULD be as close to this rate as the device is able. If the Rate field is equal to null, then the value in DefaultMoveRate attribute shall be used. However, if the Rate field is equal to null and the DefaultMoveRate attribute is not supported, or if the Rate field is equal to null and the value of the DefaultMoveRate attribute is equal to null, then the device SHOULD move as fast as it is able. If the device is not able to move at a variable rate, this field may be disregarded.


[View source]