struct

Matter::InteractionModel::SubscribeResponseMessage

Inherits TLV::Serializable < Struct < Value < Object

SubscribeResponseMessage Note: fixed_size: true ensures correct type widths for iOS compatibility

Constructors

new(subscription_id : UInt32, max_interval : UInt16, interaction_model_revision : UInt8 = 12_u8)
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

interaction_model_revision

Tag 0xFF: InteractionModelRevision

Source
interaction_model_revision=(interaction_model_revision : UInt8)

Tag 0xFF: InteractionModelRevision

Source
max_interval

Tag 2: MaxInterval (Note: tag 1 is not used, fixed 2-byte for iOS compatibility)

Source
max_interval=(max_interval : UInt16)

Tag 2: MaxInterval (Note: tag 1 is not used, fixed 2-byte for iOS compatibility)

Source
subscription_id

Tag 0: SubscriptionId (fixed 4-byte for iOS compatibility)

Source
subscription_id=(subscription_id : UInt32)

Tag 0: SubscriptionId (fixed 4-byte for iOS compatibility)

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