-
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
Use Matter{{clusterName}}PluginServerInitCallback instead of the per endpoint init callback for diagnostics related cluster AttributeAccessInterface instance #10938
Merged
andy31415
merged 2 commits into
project-chip:master
from
vivien-apple:Clusters_AttributeAccessInterfaceIntoPluginInit
Oct 27, 2021
Merged
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,
austinh0,
balducci-apple,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chulspro,
Damian-Nordic,
emargolis,
franck-apple,
harimau-qirex,
hawk248,
holbrookt,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kpschoedel,
LuDuda,
msandstedt,
mspang,
pan-apple,
sagar-apple,
saurabhst,
tcarmelveilleux,
tecimovic,
turon and
wbschiller
October 25, 2021 23:49
PR #10938: Size comparison from 93fef33 to 94bbfa2 8 builds (for k32w, p6, qpg, telink)
12 builds (for efr32, linux)
14 builds (for mbed, nrfconnect)
2 builds (for esp32)
|
Damian-Nordic
approved these changes
Oct 26, 2021
vivien-apple
force-pushed
the
Clusters_AttributeAccessInterfaceIntoPluginInit
branch
from
October 26, 2021 08:04
94bbfa2
to
85611ac
Compare
PR #10938: Size comparison from 341c00d to 85611ac 8 builds (for k32w, p6, qpg, telink)
4 builds (for efr32)
4 builds (for mbed)
12 builds (for esp32, nrfconnect)
|
…endpoint init callback for diagnostics related cluster AttributeAccessInterface instance
vivien-apple
force-pushed
the
Clusters_AttributeAccessInterfaceIntoPluginInit
branch
from
October 26, 2021 09:33
85611ac
to
219ecdc
Compare
Size increase report for "gn_qpg-example-build" from 62a6f85
Full report output
|
Size increase report for "esp32-example-build" from 62a6f85
Full report output
|
Size increase report for "nrfconnect-example-build" from 62a6f85
Full report output
|
woody-apple
approved these changes
Oct 27, 2021
bzbarsky-apple
approved these changes
Oct 27, 2021
@saurabhst @msandstedt @yufengwangca @jepenven-silabs @jmartinez-silabs Please take a look? |
andy31415
approved these changes
Oct 27, 2021
JasonLiuZhuoCheng
pushed a commit
to JasonLiuZhuoCheng/connectedhomeip
that referenced
this pull request
Oct 28, 2021
…endpoint init callback for diagnostics related cluster AttributeAccessInterface instance (project-chip#10938) * Use Matter{{clusterName}}PluginServerInitCallback instead of the per endpoint init callback for diagnostics related cluster AttributeAccessInterface instance * Update generated content
carol-apple
pushed a commit
to carol-apple/connectedhomeip
that referenced
this pull request
Oct 28, 2021
…endpoint init callback for diagnostics related cluster AttributeAccessInterface instance (project-chip#10938) * Use Matter{{clusterName}}PluginServerInitCallback instead of the per endpoint init callback for diagnostics related cluster AttributeAccessInterface instance * Update generated content
PSONALl
pushed a commit
to PSONALl/connectedhomeip
that referenced
this pull request
Dec 3, 2021
…endpoint init callback for diagnostics related cluster AttributeAccessInterface instance (project-chip#10938) * Use Matter{{clusterName}}PluginServerInitCallback instead of the per endpoint init callback for diagnostics related cluster AttributeAccessInterface instance * Update generated content
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
Diagnostics clusters uses the per endpoint init callback instead of the cluster "plugin" callback. Because of this they need to check against a
static bool
to make sure to not register theAttributeAccessInterface
twice.Change overview
Matter{{clusterName}}PluginServerInitCallback
instead of the per-endpoint callback