struct
Matter::InteractionModel::ReportDataMessage
- Matter::InteractionModel::ReportDataMessage
- Struct
- Value
- Object
Overview
ReportDataMessage - the actual ReadResponse/ReportData message Per matter.js TlvDataReportForSend
Included Modules
- TLV::Serializable
Defined in:
matter/interaction_model/tlv_messages.crConstructors
- .new(any : TLV::Any)
- .new(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)
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_reports : Array(AttributeReportIB) | Nil
Tag 1: AttributeReports (array of AttributeReportIB)
-
#attribute_reports=(attribute_reports : Array(AttributeReportIB) | Nil)
Tag 1: AttributeReports (array of AttributeReportIB)
-
#event_reports : Array(TLV::Any) | Nil
Tag 2: EventReports (optional, array)
-
#event_reports=(event_reports : Array(TLV::Any) | Nil)
Tag 2: EventReports (optional, array)
-
#interaction_model_revision : UInt8
Tag 0xFF: InteractionModelRevision (REQUIRED!)
-
#interaction_model_revision=(interaction_model_revision : UInt8)
Tag 0xFF: InteractionModelRevision (REQUIRED!)
-
#more_chunked_messages : Bool | Nil
Tag 3: MoreChunkedMessages (optional)
-
#more_chunked_messages=(more_chunked_messages : Bool | Nil)
Tag 3: MoreChunkedMessages (optional)
-
#subscription_id : UInt32 | Nil
Tag 0: SubscriptionId (optional, only for subscriptions)
-
#subscription_id=(subscription_id : UInt32 | Nil)
Tag 0: SubscriptionId (optional, only for subscriptions)
-
#suppress_response : Bool | Nil
Tag 4: SuppressResponse (optional)
-
#suppress_response=(suppress_response : Bool | Nil)
Tag 4: SuppressResponse (optional)
- #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
Class Method Detail
Instance Method Detail
Tag 1: AttributeReports (array of AttributeReportIB)
Tag 1: AttributeReports (array of AttributeReportIB)
Tag 0xFF: InteractionModelRevision (REQUIRED!)
Tag 3: MoreChunkedMessages (optional)
Tag 0: SubscriptionId (optional, only for subscriptions)