Matter::Cluster::Definitions::PowerSource::Events::BatteryChargeFaultChangeEvent
Inherits TLV::Serializable < Struct < Value < Object
Body of the PowerSource batChargeFaultChange 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
Sourcecurrent=(current : Array(BatteryChargeFault))
Sourceprevious
Sourceprevious=(previous : Array(BatteryChargeFault))
Sourceto_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