-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Telink] Move SetRouterPromotion(false) at the end of OpenCommissioningWindow #25517
Merged
yufengwangca
merged 2 commits into
project-chip:master
from
s07641069:fix_SetRouterPromotion
Mar 9, 2023
Merged
[Telink] Move SetRouterPromotion(false) at the end of OpenCommissioningWindow #25517
yufengwangca
merged 2 commits into
project-chip:master
from
s07641069:fix_SetRouterPromotion
Mar 9, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PR #25517: Size comparison from fc0e4a2 to c6387d8 Increases (10 builds for bl602, bl702, cc13x2_26x2, cc32xx, linux, psoc6)
Decreases (3 builds for bl702, cc13x2_26x2)
Full report (24 builds for bl602, bl702, cc13x2_26x2, cc32xx, cyw30739, linux, mbed, psoc6, qpg)
|
bzbarsky-apple
approved these changes
Mar 7, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Worth documenting that it's OK to do this even if AdvertiseAndListenForPASE fails, because if it does the callers of OpenCommissioningWindow will end up calling ResetState, which will reset the boolean.
yufengwangca
approved these changes
Mar 9, 2023
lecndav
pushed a commit
to lecndav/connectedhomeip
that referenced
this pull request
Mar 22, 2023
…ngWindow (project-chip#25517) * [Telink] Move SetRouterPromotion(false) at the end of OpenCommissioningWindow * [Telink] Add comment for AdvertiseAndListenForPASE fail case
mwswartwout
pushed a commit
to mwswartwout/connectedhomeip
that referenced
this pull request
Mar 27, 2023
…ngWindow (project-chip#25517) * [Telink] Move SetRouterPromotion(false) at the end of OpenCommissioningWindow * [Telink] Add comment for AdvertiseAndListenForPASE fail case
woody-apple
added a commit
to woody-apple/connectedhomeip
that referenced
this pull request
Aug 23, 2023
…missioningWindow (project-chip#25517)" This reverts commit 37c3db9.
woody-apple
added a commit
to woody-apple/connectedhomeip
that referenced
this pull request
Aug 23, 2023
…missioningWindow (project-chip#25517)" This reverts commit 37c3db9.
abpoth
pushed a commit
to abpoth/connectedhomeip
that referenced
this pull request
Aug 25, 2023
project-chip#28848) * Revert "[Telink] Move SetRouterPromotion(false) at the end of OpenCommissioningWindow (project-chip#25517)" This reverts commit 37c3db9. * Revert "[Telink] Block device role changing into Router if commissioning window opened and device not yet Router (project-chip#25395)" This reverts commit c126158.
HunsupJung
pushed a commit
to HunsupJung/connectedhomeip
that referenced
this pull request
Oct 23, 2023
project-chip#28848) * Revert "[Telink] Move SetRouterPromotion(false) at the end of OpenCommissioningWindow (project-chip#25517)" This reverts commit 37c3db9. * Revert "[Telink] Block device role changing into Router if commissioning window opened and device not yet Router (project-chip#25395)" This reverts commit c126158.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
We're still doing the SetRouterPromotion(false); multiple times on commissioning failures, but doing the SetRouterPromotion(true) only once when we reset.
Change overview
Move SetRouterPromotion(false) at the end of OpenCommissioningWindow.
Testing
Tested manually.
Steps: