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)
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
interaction_model_revision=(interaction_model_revision : UInt8)
Tag 0xFF: InteractionModelRevision
max_interval=(max_interval : UInt16)
Tag 2: MaxInterval (Note: tag 1 is not used, fixed 2-byte for iOS compatibility)
subscription_id=(subscription_id : UInt32)
Tag 0: SubscriptionId (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