-
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] Block device role changing into Router if commissioning window opened and device not yet Router #25395
Merged
andy31415
merged 8 commits into
project-chip:master
from
s07641069:block_device_role_changing_if_comm_window_opened
Mar 2, 2023
Merged
[Telink] Block device role changing into Router if commissioning window opened and device not yet Router #25395
andy31415
merged 8 commits into
project-chip:master
from
s07641069:block_device_role_changing_if_comm_window_opened
Mar 2, 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
…ow opened and device not yet Router
pullapprove
bot
requested review from
amitnj,
anush-apple,
arkq,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
cliffamzn,
CodeChronos928,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
franck-apple,
gjc13,
harimau-qirex,
harsha-rajendran,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
jmeg-sfy,
jtung-apple,
kcoppock,
kkasperczyk-no and
ksperling-apple
March 1, 2023 11:24
PR #25395: Size comparison from eff5773 to 17571fe Increases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
- Add Thread stack lock during otThreadSetRouterEligible - Suppress Router promotion whenever any commissioning window is open
PR #25395: Size comparison from eff5773 to 3f77303 Increases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
PR #25395: Size comparison from eff5773 to 01991d3 Increases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
Damian-Nordic
approved these changes
Mar 1, 2023
bzbarsky-apple
approved these changes
Mar 1, 2023
PR #25395: Size comparison from 1a1d0c3 to 332fd6a Increases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
@Damian-Nordic @bzbarsky-apple |
lecndav
pushed a commit
to lecndav/connectedhomeip
that referenced
this pull request
Mar 22, 2023
…ow opened and device not yet Router (project-chip#25395) * [Telink] Block device role changing into Router if commissioning window opened and device not yet Router * [Telink] Add CHIP_DEVICE_CONFIG_ENABLE_THREAD check * [Telink] - Add API in ThreadStackManager - Add Thread stack lock during otThreadSetRouterEligible - Suppress Router promotion whenever any commissioning window is open * [Telink] Fix typo * [Telink] Move device role check into SetRouterPromotion * [Telink] Use _SetRouterPromotion only for FTD * [Telink] Move SetRouterPromotion(false) at the end of OpenCommissioningWindow
woody-apple
added a commit
to woody-apple/connectedhomeip
that referenced
this pull request
Aug 22, 2023
…ing window opened and device not yet Router (project-chip#25395)" This reverts commit c126158.
woody-apple
added a commit
to woody-apple/connectedhomeip
that referenced
this pull request
Aug 23, 2023
…ing window opened and device not yet Router (project-chip#25395)" This reverts commit c126158.
woody-apple
added a commit
to woody-apple/connectedhomeip
that referenced
this pull request
Aug 23, 2023
…ing window opened and device not yet Router (project-chip#25395)" This reverts commit c126158.
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
In case if commissioning window opened before FTD device becomes Router (still Child) you will see fails of pair or device will be not reachable after pairing with second controller.
Successful commissioning with second controller is possible only in case if commissioning window opened after device becomes Router or switching into Router starts after finish of second pairing.
Change overview
Block device role changing into Router if commissioning window opened and device not yet Router.
Testing
Tested manually.
Steps: