Matter::InteractionModel::ReportDataMessage
Inherits TLV::Serializable < Struct < Value < Object
ReportDataMessage - the actual ReadResponse/ReportData message Per matter.js TlvDataReportForSend Note: fixed_size: true on subscription_id ensures 4-byte encoding for iOS compatibility
Constructors
new(any : TLV::Any)
Sourcenew(subscription_id : UInt32 | Nil = nil, attribute_reports : Nil | Array(Matter::InteractionModel::AttributeReportIB) = nil, event_reports : Nil | Array(TLV::Any) = nil, more_chunked_messages : Bool | Nil = nil, suppress_response : Bool | Nil = nil, interaction_model_revision : UInt8 = 12_u8)
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_reports=(attribute_reports : Array(AttributeReportIB) | Nil)
Tag 1: AttributeReports (array of AttributeReportIB)
interaction_model_revision=(interaction_model_revision : UInt8)
Tag 0xFF: InteractionModelRevision (REQUIRED!)
more_chunked_messages=(more_chunked_messages : Bool | Nil)
Tag 3: MoreChunkedMessages (optional)
subscription_id=(subscription_id : UInt32 | Nil)
Tag 0: SubscriptionId (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