Matter::InteractionModel::AttributeReportIB
Inherits TLV::Serializable < Struct < Value < Object
AttributeReportIB - wrapper for either data or status
Constructors
new(any : TLV::Any)
Sourcenew(attribute_status : AttributeStatusIB | Nil = nil, attribute_data : AttributeDataIB | Nil = nil)
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
attribute_data=(attribute_data : AttributeDataIB | Nil)
Tag 1: AttributeDataIB (optional - present on success)
attribute_status=(attribute_status : AttributeStatusIB | Nil)
Tag 0: AttributeStatusIB (optional - present on error)
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