struct Matter::Cluster::Definitions::ColorControl::EnhancedStepHueRequest

Overview

Input to the ColorControl enhancedStepHue command

Included Modules

Defined in:

matter/cluster/definitions/color_control.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[View source]

Instance Method Detail

def mask : UInt8 #

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

[View source]
def override : UInt8 #

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

[View source]
def step_mode : StepMode #

This field is identical to the StepMode field of the StepHue command of the Color Control cluster (see sub-clause StepHue Command).


[View source]
def step_mode=(step_mode : StepMode) #

This field is identical to the StepMode field of the StepHue command of the Color Control cluster (see sub-clause StepHue Command).


[View source]
def step_size : UInt16 #

The StepSize field specifies the change to be added to (or subtracted from) the current value of the device’s enhanced hue.


[View source]
def step_size=(step_size : UInt16) #

The StepSize field specifies the change to be added to (or subtracted from) the current value of the device’s enhanced hue.


[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]
def transition_time : UInt16 #

The TransitionTime field specifies, in units of 1/10ths of a second, the time that shall be taken to perform the step. A step is a change to the device’s enhanced hue of a magnitude corresponding to the StepSize field.

Note: Here TransitionTime data field is of data type uint16, while the TransitionTime data field of the StepHue command is of data type uint8.


[View source]
def transition_time=(transition_time : UInt16) #

The TransitionTime field specifies, in units of 1/10ths of a second, the time that shall be taken to perform the step. A step is a change to the device’s enhanced hue of a magnitude corresponding to the StepSize field.

Note: Here TransitionTime data field is of data type uint16, while the TransitionTime data field of the StepHue command is of data type uint8.


[View source]