struct Matter::Cluster::Definitions::ColorControl::MoveHueRequest

Overview

Input to the ColorControl moveHue command

Included Modules

Defined in:

matter/cluster/definitions/color_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. If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.


[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. If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.


[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 steps per second. A step is a change in the device’s hue of one unit. If the MoveMode field is set to 1 (up) or 3 (down) and the Rate field has a value of zero, the command has no effect and a response command shall be sent in response, with the status code set to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.


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

The Rate field specifies the rate of movement in steps per second. A step is a change in the device’s hue of one unit. If the MoveMode field is set to 1 (up) or 3 (down) and the Rate field has a value of zero, the command has no effect and a response command shall be sent in response, with the status code set to INVALID_COMMAND. If the MoveMode field is set to 0 (stop) the Rate field shall be ignored.


[View source]