struct Matter::InteractionModel::SubscribeRequestMessage

Overview

SubscribeRequestMessage

Included Modules

Defined in:

matter/interaction_model/tlv_messages.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(any : TLV::Any) #

[View source]
def self.new(keep_subscriptions : Bool = false, min_interval_floor : UInt16 = 0_u16, max_interval_ceiling : UInt16 = 3600_u16, is_fabric_filtered : Bool = true, attribute_requests : Nil | Array(Matter::InteractionModel::AttributePath) = nil, event_requests : Nil | Array(Matter::InteractionModel::EventPath) = nil, event_filters : Nil | Array(TLV::Any) = nil, data_version_filters : Nil | Array(TLV::Any) = nil, interaction_model_revision : UInt8 | Nil = nil) #

[View source]

Class Method Detail

def self.from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) #

[View source]
def self.from_slice(bytes : Bytes) #

[View source]
def self.from_tlv(any : TLV::Any) #

[View source]

Instance Method Detail

def attribute_requests : Array(AttributePath) | Nil #

Tag 3: AttributeRequests (optional)


[View source]
def attribute_requests=(attribute_requests : Array(AttributePath) | Nil) #

Tag 3: AttributeRequests (optional)


[View source]
def data_version_filters : Array(TLV::Any) | Nil #

Tag 6: DataVersionFilters (optional)


[View source]
def data_version_filters=(data_version_filters : Array(TLV::Any) | Nil) #

Tag 6: DataVersionFilters (optional)


[View source]
def event_filters : Array(TLV::Any) | Nil #

Tag 5: EventFilters (optional)


[View source]
def event_filters=(event_filters : Array(TLV::Any) | Nil) #

Tag 5: EventFilters (optional)


[View source]
def event_requests : Array(EventPath) | Nil #

Tag 4: EventRequests (optional)


[View source]
def event_requests=(event_requests : Array(EventPath) | Nil) #

Tag 4: EventRequests (optional)


[View source]
def interaction_model_revision : UInt8 | Nil #

Tag 0xFF: InteractionModelRevision


[View source]
def interaction_model_revision=(interaction_model_revision : UInt8 | Nil) #

Tag 0xFF: InteractionModelRevision


[View source]
def is_fabric_filtered : Bool #

Tag 7: IsFabricFiltered


[View source]
def is_fabric_filtered=(is_fabric_filtered : Bool) #

Tag 7: IsFabricFiltered


[View source]
def keep_subscriptions : Bool #

Tag 0: KeepSubscriptions


[View source]
def keep_subscriptions=(keep_subscriptions : Bool) #

Tag 0: KeepSubscriptions


[View source]
def max_interval_ceiling : UInt16 #

Tag 2: MaxIntervalCeiling


[View source]
def max_interval_ceiling=(max_interval_ceiling : UInt16) #

Tag 2: MaxIntervalCeiling


[View source]
def min_interval_floor : UInt16 #

Tag 1: MinIntervalFloor


[View source]
def min_interval_floor=(min_interval_floor : UInt16) #

Tag 1: MinIntervalFloor


[View source]
def to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil #

[View source]
def to_slice : Bytes #

[View source]
def to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any #

[View source]