struct
Matter::Cluster::SceneInfoTlv
- Matter::Cluster::SceneInfoTlv
- Struct
- Value
- Object
Overview
TLV-serializable SceneInfo for FabricSceneInfo attribute
Included Modules
- TLV::Serializable
Defined in:
matter/cluster/scenes_management_cluster.crConstructors
- .new(any : TLV::Any)
- .new(scene_count : UInt8 = 0_u8, current_scene : UInt8 = 255_u8, current_group : UInt16 = 0_u16, scene_valid : Bool = false, remaining_capacity : UInt8 = 16_u8, fabric_index : UInt8 = 1_u8)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
Instance Method Summary
- #current_group : UInt16
- #current_group=(current_group : UInt16)
- #current_scene : UInt8
- #current_scene=(current_scene : UInt8)
- #fabric_index : UInt8
- #fabric_index=(fabric_index : UInt8)
- #remaining_capacity : UInt8
- #remaining_capacity=(remaining_capacity : UInt8)
- #scene_count : UInt8
- #scene_count=(scene_count : UInt8)
- #scene_valid : Bool
- #scene_valid=(scene_valid : Bool)
- #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
def self.new(scene_count : UInt8 = 0_u8, current_scene : UInt8 = 255_u8, current_group : UInt16 = 0_u16, scene_valid : Bool = false, remaining_capacity : UInt8 = 16_u8, fabric_index : UInt8 = 1_u8)
#
Class Method Detail
Instance Method Detail
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#