struct

Matter::InteractionModel::AttributeDataIB

Inherits TLV::Serializable < Struct < Value < Object

AttributeDataIB - per matter.js TlvAttributeReportData Note: fixed_size: true on data_version ensures 4-byte encoding for iOS compatibility

Constructors

new(path : AttributePath, data : TLV::Any, data_version : UInt32 | Nil = nil)
Source
new(any : TLV::Any)
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

data

Tag 2: Data (TLV::Any - the actual attribute value)

Source
data=(data : TLV::Any)

Tag 2: Data (TLV::Any - the actual attribute value)

Source
data_version

Tag 0: DataVersion (optional, fixed 4-byte for iOS compatibility)

Source
data_version=(data_version : UInt32 | Nil)

Tag 0: DataVersion (optional, fixed 4-byte for iOS compatibility)

Source
path

Tag 1: Path

Source
path=(path : AttributePath)

Tag 1: Path

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