-
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
[chip-tool] Add write-by-id, command-by-id and a custom payload builder #14398
Merged
woody-apple
merged 2 commits into
project-chip:master
from
vivien-apple:ChipTool_WriteByIdAndCommandById
Jan 27, 2022
Merged
[chip-tool] Add write-by-id, command-by-id and a custom payload builder #14398
woody-apple
merged 2 commits into
project-chip:master
from
vivien-apple:ChipTool_WriteByIdAndCommandById
Jan 27, 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
vivien-apple
changed the title
Chip tool write by id and command by
[chip-tool] Add write-by-id, command-by-id and a custom payload builder
Jan 27, 2022
pullapprove
bot
requested review from
anush-apple,
austinh0,
balducci-apple,
Byungjoo-Lee,
bzbarsky-apple,
carol-apple,
chrisdecenzo,
chshu,
chulspro,
Damian-Nordic,
dhrishi,
electrocucaracha,
emargolis,
erjiaqing,
franck-apple,
gjc13,
harimau-qirex,
hawk248,
jelderton,
jepenven-silabs,
jmartinez-silabs,
kghost,
LuDuda,
lzgrablic02,
mlepage-google,
mrjerryjohns and
msandstedt
January 27, 2022 11:31
pullapprove
bot
requested review from
mspang,
pan-apple,
sagar-apple,
saurabhst,
selissia,
tecimovic,
vijs,
wbschiller,
woody-apple,
xylophone21 and
yunhanw-google
January 27, 2022 11:31
PR #14398: Size comparison from 40cc421 to f0a3381 Full report (8 builds for cyw30739, k32w, qpg, telink)
|
vivien-apple
force-pushed
the
ChipTool_WriteByIdAndCommandById
branch
from
January 27, 2022 11:44
f0a3381
to
88616d3
Compare
PR #14398: Size comparison from 40cc421 to 88616d3 Full report (8 builds for cyw30739, k32w, qpg, telink)
|
vivien-apple
force-pushed
the
ChipTool_WriteByIdAndCommandById
branch
from
January 27, 2022 12:15
88616d3
to
9412d0f
Compare
vivien-apple
force-pushed
the
ChipTool_WriteByIdAndCommandById
branch
from
January 27, 2022 12:32
9412d0f
to
1024dd5
Compare
PR #14398: Size comparison from 40cc421 to 1024dd5 Increases above 0.2%:
Increases (1 build for linux)
Full report (33 builds for cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, qpg, telink)
|
woody-apple
approved these changes
Jan 27, 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.
Fast tracking, given this is adding tooling to unblock testing.
selissia
pushed a commit
to selissia/connectedhomeip
that referenced
this pull request
Jan 28, 2022
…er (project-chip#14398) * [chip-tool] Add write-by-id, command-by-id and a custom payload builder * 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
chip-tool
can not issue commands to cluster or commands that are not enabled into thezap
file.This PR exposes adds
command-by-id
andwrite-by-id
that lets you build commands from the command line directly.As an example one could do:
Change overview
command-by-id
write-by-id
Testing
I have manually validated that those commands are properly generated and does what is expected. Not as good as building some YAMLs tests but I still need to convert the YAML framework to uses delegates instead of
Invoke
like calls that strongly typed in order to add some tests...