struct Matter::Cluster::Definitions::ColorControl::StepHueRequest

Overview

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

The StepMode field shall be one of the non-reserved values in Values of the StepMode Field. Table 50. Values of the StepMode Field


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

The StepMode field shall be one of the non-reserved values in Values of the StepMode Field. Table 50. Values of the StepMode Field


[View source]
def step_size : UInt8 #

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


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

The change to be added to (or subtracted from) the current value of the device’s 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 : UInt8 #

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

Note: Here the TransitionTime data field is of data type uint8, where uint16 is more common for TransitionTime data fields in other clusters / commands.


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

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

Note: Here the TransitionTime data field is of data type uint8, where uint16 is more common for TransitionTime data fields in other clusters / commands.


[View source]