class
Matter::SessionManager::PaseSession
- Matter::SessionManager::PaseSession
- Reference
- Object
Overview
PASE session (Password-Authenticated Session Establishment)
PASE sessions are established during commissioning using a passcode. They are temporary and should be cleared during failsafe rollback.
Defined in:
matter/session_manager.crConstructors
Instance Method Summary
- #established_at : Time
- #established_at=(established_at : Time)
-
#expired?(timeout : Time::Span = 60.minutes) : Bool
Check if session is expired (default: 60 minutes)
- #last_activity : Time
- #last_activity=(last_activity : Time)
- #passcode : UInt32 | Nil
- #passcode=(passcode : UInt32 | Nil)
- #session_id : UInt16
- #session_id=(session_id : UInt16)
-
#touch : Nil
Update last activity timestamp
Constructor Detail
def self.new(session_id : UInt16, passcode : UInt32 | Nil = nil, established_at : Time = Time.utc, last_activity : Time = Time.utc)
#
Instance Method Detail
def expired?(timeout : Time::Span = 60.minutes) : Bool
#
Check if session is expired (default: 60 minutes)