Skip to content

Commit

Permalink
Addressing feedback from bzbarsky-apple@
Browse files Browse the repository at this point in the history
  • Loading branch information
sharadb-amazon committed Jul 26, 2023
1 parent 06fdf86 commit 1574e20
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/app/server/AppDelegate.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,17 @@ class AppDelegate
virtual void OnCommissioningSessionStarted() {}

/**
* This is called when there is an error in establishing a commissioning session (such as, when an invalid passcode is provided)
* This is called when the PASE establishment failed (such as, when an invalid passcode is provided) or PASE was established
* fine but then the fail-safe expired (including being expired by the commissioner)
*
* @param err CHIP_ERROR indicating the error that occurred during session establishment
*/
virtual void OnCommissioningSessionEstablishmentError(CHIP_ERROR err) {}

/**
* This is called when the commissioning session establishment stops
* This is called when the PASE establishment failed or PASE was established fine but then the fail-safe expired (including
* being expired by the commissioner) AND the commissioning window is closed. The window may be closed because the commissioning
* attempts limit was reached or advertising/listening for PASE failed.
*/
virtual void OnCommissioningSessionStopped() {}

Expand Down

0 comments on commit 1574e20

Please sign in to comment.