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

Overview

Body of the PowerSource wiredFaultChange event

Included Modules

Defined in:

matter/cluster/definitions/power_source.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]
def self.from_tlv(data : Bytes) #

[View source]

Instance Method Detail

def current : Array(WiredFault) #

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


[View source]
def current=(current : Array(WiredFault)) #

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


[View source]
def 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”.


[View source]
def 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”.


[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]