struct

Matter::InteractionModel::AttributeReportIB

Inherits TLV::Serializable < Struct < Value < Object

AttributeReportIB - wrapper for either data or status

Constructors

new(any : TLV::Any)
Source
new(attribute_status : AttributeStatusIB | Nil = nil, attribute_data : AttributeDataIB | Nil = nil)
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

attribute_data

Tag 1: AttributeDataIB (optional - present on success)

Source
attribute_data=(attribute_data : AttributeDataIB | Nil)

Tag 1: AttributeDataIB (optional - present on success)

Source
attribute_status

Tag 0: AttributeStatusIB (optional - present on error)

Source
attribute_status=(attribute_status : AttributeStatusIB | Nil)

Tag 0: AttributeStatusIB (optional - present on error)

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