struct
Matter::Cluster::Definitions::LevelControl::MoveToLevelWithOnOffRequest
Overview
Input to the LevelControl moveToLevelWithOnOff command
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/definitions/level_control.crConstructors
- .new(level : 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
- #level : UInt8
- #level=(level : UInt8)
- #mask : UInt8
- #mask=(mask : UInt8)
- #override : UInt8
- #override=(override : 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(level : 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
#