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)
SourceInstance methods
established_at
Sourceestablished_at=(established_at : Time)
Sourceexpired?(timeout : Time::Span = 24.hours) : Bool
Check if session is expired (default: 24 hours)
fabric_index
Sourcefabric_index=(fabric_index : UInt8)
Sourcelast_activity
Sourcelast_activity=(last_activity : Time)
Sourcepeer_node_id
Sourcepeer_node_id=(peer_node_id : UInt64)
Sourcesession_id
Sourcesession_id=(session_id : UInt16)
Sourcevendor_id
Sourcevendor_id=(vendor_id : UInt16)
Source