Skip to content

Commit

Permalink
Added usage/deprecation comment for OperationalDeviceProxy.SetConnect…
Browse files Browse the repository at this point in the history
…edSession
  • Loading branch information
sharadb-amazon authored and bzbarsky-apple committed Dec 20, 2021
1 parent 7223c2e commit 8c9607c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/OperationalDeviceProxy.h
Original file line number Diff line number Diff line change
Expand Up @@ -144,8 +144,11 @@ class DLL_EXPORT OperationalDeviceProxy : public DeviceProxy, SessionReleaseDele
CHIP_ERROR Disconnect() override;

/**
* Grab the SessionHolder and set state of this OperationalDeviceProxy
* to SecureConnected
* Use SetConnectedSession if 'this' object is a newly allocated device proxy.
* It will take an existing session, such as the one established
* during commissioning, and use it for this device proxy.
*
* Note: Avoid using this function generally as it is Deprecated
*/
void SetConnectedSession(SessionHandle handle);

Expand Down

0 comments on commit 8c9607c

Please sign in to comment.