struct
Matter::InteractionModel::AttributeReportIB
- Matter::InteractionModel::AttributeReportIB
- Struct
- Value
- Object
Overview
AttributeReportIB - wrapper for either data or status
Included Modules
- TLV::Serializable
Defined in:
matter/interaction_model/tlv_messages.crConstructors
- .new(any : TLV::Any)
- .new(attribute_status : AttributeStatusIB | Nil = nil, attribute_data : AttributeDataIB | Nil = nil)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
- .from_tlv(data : Bytes)
Instance Method Summary
-
#attribute_data : AttributeDataIB | Nil
Tag 1: AttributeDataIB (optional - present on success)
-
#attribute_data=(attribute_data : AttributeDataIB | Nil)
Tag 1: AttributeDataIB (optional - present on success)
-
#attribute_status : AttributeStatusIB | Nil
Tag 0: AttributeStatusIB (optional - present on error)
-
#attribute_status=(attribute_status : AttributeStatusIB | Nil)
Tag 0: AttributeStatusIB (optional - present on error)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
def self.new(attribute_status : AttributeStatusIB | Nil = nil, attribute_data : AttributeDataIB | Nil = nil)
#
Class Method Detail
Instance Method Detail
def attribute_data=(attribute_data : AttributeDataIB | Nil)
#
Tag 1: AttributeDataIB (optional - present on success)
def attribute_status : AttributeStatusIB | Nil
#
Tag 0: AttributeStatusIB (optional - present on error)
def attribute_status=(attribute_status : AttributeStatusIB | Nil)
#
Tag 0: AttributeStatusIB (optional - present on error)
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
#