-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow chip-tool to generate onboarding payloads with extra TLV. (#20231)
Specific changes: 1) Clarify the naming of some of the chip-tool payload arguments and add documentation. 2) Fix chip-tool handling of the existing-payload argument so that we error out on invalid existing payloads instead of silently pressing on. 3) Add a way to pass in the TLV-encoded extra bytes to be added to a payload. Unfortunately, only tags that our SetupPayload knows about right now are supported. 4) Add a function on QRCodeSetupPayloadGenerator that allows generating a code without having to guess at how much space the TLV will take up. 5) Add tests for that new function. Fixes #20226
- Loading branch information
1 parent
ac5b99a
commit 1796860
Showing
7 changed files
with
241 additions
and
20 deletions.
There are no files selected for viewing
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
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
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
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
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
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
Oops, something went wrong.