struct

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

Inherits TLV::Serializable < Struct < Value < Object

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

Constructors

new(any : TLV::Any)
Source
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)
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

data_model_revision

Data model revision (tag 4)

Source
data_model_revision=(data_model_revision : UInt16 | Nil)

Data model revision (tag 4)

Source
interaction_model_revision

Interaction model revision (tag 5)

Source
interaction_model_revision=(interaction_model_revision : UInt16 | Nil)

Interaction model revision (tag 5)

Source
max_paths_per_invoke

Max paths per invoke (tag 7)

Source
max_paths_per_invoke=(max_paths_per_invoke : UInt16 | Nil)

Max paths per invoke (tag 7)

Source
session_active_interval

Session active interval in milliseconds (tag 2)

Source
session_active_interval=(session_active_interval : UInt32 | Nil)

Session active interval in milliseconds (tag 2)

Source
session_active_threshold

Session active threshold in milliseconds (tag 3)

Source
session_active_threshold=(session_active_threshold : UInt16 | Nil)

Session active threshold in milliseconds (tag 3)

Source
session_idle_interval

Session idle interval in milliseconds (tag 1)

Source
session_idle_interval=(session_idle_interval : UInt32 | Nil)

Session idle interval in milliseconds (tag 1)

Source
specification_version

Specification version (tag 6)

Source
specification_version=(specification_version : UInt32 | Nil)

Specification version (tag 6)

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