struct
Matter::Session::Case::Definitions::SessionParameter
- Matter::Session::Case::Definitions::SessionParameter
- Struct
- Value
- Object
Overview
Session parameter structure (used in Sigma1 and Sigma2) Contains session idle/active interval parameters
Included Modules
- TLV::Serializable
Defined in:
matter/session/case/definitions.crConstructors
- .new(any : TLV::Any)
- .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)
Class Method Summary
- .from_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian)
- .from_slice(bytes : Bytes)
- .from_tlv(any : TLV::Any)
Instance Method Summary
-
#data_model_revision : UInt16 | Nil
Data model revision (tag 4)
-
#data_model_revision=(data_model_revision : UInt16 | Nil)
Data model revision (tag 4)
-
#interaction_model_revision : UInt16 | Nil
Interaction model revision (tag 5)
-
#interaction_model_revision=(interaction_model_revision : UInt16 | Nil)
Interaction model revision (tag 5)
-
#max_paths_per_invoke : UInt16 | Nil
Max paths per invoke (tag 7)
-
#max_paths_per_invoke=(max_paths_per_invoke : UInt16 | Nil)
Max paths per invoke (tag 7)
-
#session_active_interval : UInt32 | Nil
Session active interval in milliseconds (tag 2)
-
#session_active_interval=(session_active_interval : UInt32 | Nil)
Session active interval in milliseconds (tag 2)
-
#session_active_threshold : UInt16 | Nil
Session active threshold in milliseconds (tag 3)
-
#session_active_threshold=(session_active_threshold : UInt16 | Nil)
Session active threshold in milliseconds (tag 3)
-
#session_idle_interval : UInt32 | Nil
Session idle interval in milliseconds (tag 1)
-
#session_idle_interval=(session_idle_interval : UInt32 | Nil)
Session idle interval in milliseconds (tag 1)
-
#specification_version : UInt32 | Nil
Specification version (tag 6)
-
#specification_version=(specification_version : UInt32 | Nil)
Specification version (tag 6)
- #to_io(io : IO, format : IO::ByteFormat = IO::ByteFormat::LittleEndian) : Nil
- #to_slice : Bytes
- #to_tlv(outer_tag : Nil | UInt8 | Tuple(UInt16, UInt16) | Tuple(UInt16, UInt16, UInt16) = nil) : TLV::Any
Constructor Detail
Class Method Detail
Instance Method Detail
Interaction model revision (tag 5)
Session active interval in milliseconds (tag 2)
Session active threshold in milliseconds (tag 3)
Session idle interval in milliseconds (tag 1)