struct

Matter::Cluster::Definitions::PowerSource::Events::TlvWiredFaultChangeEvent

Inherits TLV::Serializable < Struct < Value < Object

Body of the PowerSource wiredFaultChange event

Constructors

new(any : TLV::Any)
Source

Class methods

from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Source
from_slice(bytes : Bytes)
Source
from_tlv(any : TLV::Any)
Source
from_tlv(data : Bytes)
Source

Instance methods

current

This field shall represent the set of faults currently detected, as per Section 11.7.6.11, “ActiveWiredFaults Attribute”.

Source
current=(current : Array(WiredFault))

This field shall represent the set of faults currently detected, as per Section 11.7.6.11, “ActiveWiredFaults Attribute”.

Source
previous

This field shall represent the set of faults detected prior to this change event, as per Section 11.7.6.11, “ActiveWiredFaults Attribute”.

Source
previous=(previous : Array(WiredFault))

This field shall represent the set of faults detected prior to this change event, as per Section 11.7.6.11, “ActiveWiredFaults Attribute”.

Source
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Source
to_slice
Source
to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source