Skip to content

Commit

Permalink
expose SecureSession from Device API (#8691)
Browse files Browse the repository at this point in the history
  • Loading branch information
holbrookt authored and pull[bot] committed Sep 2, 2021
1 parent 7a60806 commit 93bf47b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/controller/CHIPDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,8 @@ class DLL_EXPORT Device : public Messaging::ExchangeDelegate, public SessionEsta

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

SecureSessionHandle GetSecureSession() const { return mSecureSession; }

void SetAddress(const Inet::IPAddress & deviceAddr) { mDeviceAddress.SetIPAddress(deviceAddr); }

PASESessionSerializable & GetPairing() { return mPairing; }
Expand Down

0 comments on commit 93bf47b

Please sign in to comment.