-
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
Rework Thread attachement event and unify implementation #19474
Merged
bzbarsky-apple
merged 3 commits into
project-chip:master
from
jmartinez-silabs:thread_eventing
Jun 11, 2022
Merged
Rework Thread attachement event and unify implementation #19474
bzbarsky-apple
merged 3 commits into
project-chip:master
from
jmartinez-silabs:thread_eventing
Jun 11, 2022
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
pullapprove
bot
requested review from
andy31415,
anush-apple,
arkq,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
erjiaqing,
franck-apple,
gjc13,
hawk248,
harsha-rajendran and
isiu-apple
June 10, 2022 17:16
pullapprove
bot
requested review from
sagar-apple,
saurabhst,
xylophone21,
selissia,
yufengwangca,
tcarmelveilleux,
tecimovic,
tehampson,
vijs,
vivien-apple,
wbschiller and
woody-apple
June 10, 2022 17:16
PR #19474: Size comparison from 287e47a to e9cfb22 Increases (12 builds for cc13x2_26x2, cyw30739, k32w)
Decreases (22 builds for cc13x2_26x2, efr32, k32w, nrfconnect, telink)
Full report (49 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
bzbarsky-apple
approved these changes
Jun 10, 2022
jepenven-silabs
approved these changes
Jun 10, 2022
src/platform/OpenThread/GenericThreadStackManagerImpl_OpenThread.h
Outdated
Show resolved
Hide resolved
LuDuda
approved these changes
Jun 10, 2022
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.
Thanks 👍 LGTM
PR #19474: Size comparison from 287e47a to db2d8e1 Increases above 0.2%:
Increases (49 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
Decreases (6 builds for cc13x2_26x2, mbed)
Full report (49 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
jepenven-silabs
pushed a commit
to jepenven-silabs/connectedhomeip
that referenced
this pull request
Jun 16, 2022
…p#19474) * Rework Thread attachement event and unify the event to the genericThreadStackManager * replace 0 by false * Restyled by clang-format Co-authored-by: Restyled.io <[email protected]>
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
GenericThreadStackManagerImpl_OpenThread, when
CHIP_SYSTEM_CONFIG_USE_OPEN_THREAD_ENDPOINT
is defined, is posting the connectivity establish event on the wrong condition causing the system to consider the thread attachment complete too soon and also causing multi-event posting.Change overview
CHIP_SYSTEM_CONFIG_USE_OPEN_THREAD_ENDPOINT
GenericThreadStackManagerImpl_OpenThread
_OnPlatformEvent
I didn't want to mess in the ThreadStackManager Implementation of some platforms I don't know much about and that I can't test (Telink and Tizen), but the dev representing those platforms can now use the generic _OnPlatformEvent correctly.
Linux and WebOs are separate as they use ot-br-possix apis.
Testing
Build and commission the EFR32 lighting-app