Matter::Cluster::Definitions::PowerSource::Events::TlvWiredFaultChangeEvent
Inherits TLV::Serializable < Struct < Value < Object
Body of the PowerSource wiredFaultChange event
Constructors
new(any : TLV::Any)
SourceClass methods
from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
Sourcefrom_slice(bytes : Bytes)
Sourcefrom_tlv(any : TLV::Any)
Sourcefrom_tlv(data : Bytes)
SourceInstance methods
current
This field shall represent the set of faults currently detected, as per Section 11.7.6.11, “ActiveWiredFaults Attribute”.
current=(current : Array(WiredFault))
This field shall represent the set of faults currently detected, as per Section 11.7.6.11, “ActiveWiredFaults Attribute”.
previous
This field shall represent the set of faults detected prior to this change event, as per Section 11.7.6.11, “ActiveWiredFaults Attribute”.
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”.
to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
Sourceto_slice
Sourceto_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Source