class

Matter::SessionManager::CaseSession

Inherits Reference < Object

CASE session (Certificate-Authenticated Session Establishment)

CASE sessions are established using certificates for operational communication. They persist until explicitly removed or device reset.

Constructors

new(session_id : UInt16, fabric_index : UInt8, peer_node_id : UInt64, vendor_id : UInt16 = 65521_u16, established_at : Time = Time.utc, last_activity : Time = Time.utc)
Source

Instance methods

established_at
Source
established_at=(established_at : Time)
Source
expired?(timeout : Time::Span = 24.hours) : Bool

Check if session is expired (default: 24 hours)

Source
fabric_index
Source
fabric_index=(fabric_index : UInt8)
Source
last_activity
Source
last_activity=(last_activity : Time)
Source
peer_node_id
Source
peer_node_id=(peer_node_id : UInt64)
Source
session_id
Source
session_id=(session_id : UInt16)
Source
touch

Update last activity timestamp

Source
vendor_id
Source
vendor_id=(vendor_id : UInt16)
Source