struct
Matter::Cluster::Definitions::ColorControl::MoveHueRequest
- Matter::Cluster::Definitions::ColorControl::MoveHueRequest
- Struct
- Value
- Object
Overview
Input to the ColorControl moveHue 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
The MoveMode field shall be one of the non-reserved values in Values of the MoveMode Field.
-
#move_mode=(move_mode : MoveMode)
The MoveMode field shall be one of the non-reserved values in Values of the MoveMode Field.
- #override : UInt8
- #override=(override : UInt8)
-
#rate : UInt8
The Rate field specifies the rate of movement in steps per second.
-
#rate=(rate : UInt8)
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
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.
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.
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.
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.