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)
Sourcenew(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
data_version=(data_version : UInt32 | Nil)
Tag 0: DataVersion (optional, fixed 4-byte for iOS compatibility)
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