Skip to content

Commit 93bf47b

Browse files
holbrooktpull[bot]
authored andcommitted
expose SecureSession from Device API (#8691)
1 parent 7a60806 commit 93bf47b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/controller/CHIPDevice.h

+2
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,8 @@ class DLL_EXPORT Device : public Messaging::ExchangeDelegate, public SessionEsta
344344

345345
bool MatchesSession(SecureSessionHandle session) const { return mSecureSession == session; }
346346

347+
SecureSessionHandle GetSecureSession() const { return mSecureSession; }
348+
347349
void SetAddress(const Inet::IPAddress & deviceAddr) { mDeviceAddress.SetIPAddress(deviceAddr); }
348350

349351
PASESessionSerializable & GetPairing() { return mPairing; }

0 commit comments

Comments
 (0)