struct Matter::Cluster::Definitions::ColorControl::EnhancedMoveHueRequest

Overview

Input to the ColorControl enhancedMoveHue 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 #

This field is identical to the MoveMode field of the MoveHue command of the Color Control cluster (see sub-clause MoveHue Command). If the MoveMode field is equal to 0 (Stop), the Rate field shall be ignored.


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

This field is identical to the MoveMode field of the MoveHue command of the Color Control cluster (see sub-clause MoveHue Command). 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 : UInt16 #

The Rate field specifies the rate of movement in steps per second. A step is a change in the extended hue of a device by 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 : UInt16) #

The Rate field specifies the rate of movement in steps per second. A step is a change in the extended hue of a device by 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]