struct
Matter::Cluster::Definitions::LevelControl::StepRequest
- Matter::Cluster::Definitions::LevelControl::StepRequest
- Struct
- Value
- Object
Overview
Input to the LevelControl step command
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/level_control.crConstructors
- .new(step_mode : StepMode, step_size : UInt8, transition_time : UInt16 | Nil, mask : UInt8, override : UInt8)
- .new(any : TLV::Any)
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)
- #override : UInt8
- #override=(override : UInt8)
- #step_mode : StepMode
- #step_mode=(step_mode : StepMode)
- #step_size : UInt8
- #step_size=(step_size : UInt8)
- #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
- #transition_time : UInt16 | Nil
- #transition_time=(transition_time : UInt16 | Nil)
Constructor Detail
def self.new(step_mode : StepMode, step_size : UInt8, transition_time : UInt16 | Nil, mask : UInt8, override : UInt8)
#
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#