struct
Matter::Cluster::Definitions::ColorControl::EnhancedMoveHueRequest
- Matter::Cluster::Definitions::ColorControl::EnhancedMoveHueRequest
- Struct
- Value
- Object
Overview
Input to the ColorControl enhancedMoveHue command
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/color_control.crConstructors
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
- #mask : UInt8
- #mask=(mask : UInt8)
-
#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).
-
#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).
- #override : UInt8
- #override=(override : UInt8)
-
#rate : UInt16
The Rate field specifies the rate of movement in steps per second.
-
#rate=(rate : UInt16)
The Rate field specifies the rate of movement in steps per second.
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
Class Method Detail
Instance Method Detail
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.
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.
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.
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.