struct Matter::Session::Case::Definitions::SessionParameter

Overview

Session parameter structure (used in Sigma1 and Sigma2) Contains session idle/active interval parameters

Included Modules

Defined in:

matter/session/case/definitions.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(session_idle_interval : UInt32 | Nil = nil, session_active_interval : UInt32 | Nil = nil, session_active_threshold : UInt16 | Nil = nil, data_model_revision : UInt16 | Nil = nil, interaction_model_revision : UInt16 | Nil = nil, specification_version : UInt32 | Nil = nil, max_paths_per_invoke : UInt16 | 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 data_model_revision : UInt16 | Nil #

Data model revision (tag 4)


[View source]
def data_model_revision=(data_model_revision : UInt16 | Nil) #

Data model revision (tag 4)


[View source]
def interaction_model_revision : UInt16 | Nil #

Interaction model revision (tag 5)


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

Interaction model revision (tag 5)


[View source]
def max_paths_per_invoke : UInt16 | Nil #

Max paths per invoke (tag 7)


[View source]
def max_paths_per_invoke=(max_paths_per_invoke : UInt16 | Nil) #

Max paths per invoke (tag 7)


[View source]
def session_active_interval : UInt32 | Nil #

Session active interval in milliseconds (tag 2)


[View source]
def session_active_interval=(session_active_interval : UInt32 | Nil) #

Session active interval in milliseconds (tag 2)


[View source]
def session_active_threshold : UInt16 | Nil #

Session active threshold in milliseconds (tag 3)


[View source]
def session_active_threshold=(session_active_threshold : UInt16 | Nil) #

Session active threshold in milliseconds (tag 3)


[View source]
def session_idle_interval : UInt32 | Nil #

Session idle interval in milliseconds (tag 1)


[View source]
def session_idle_interval=(session_idle_interval : UInt32 | Nil) #

Session idle interval in milliseconds (tag 1)


[View source]
def specification_version : UInt32 | Nil #

Specification version (tag 6)


[View source]
def specification_version=(specification_version : UInt32 | Nil) #

Specification version (tag 6)


[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]