forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Be a bit more consistent about type handling in ZAP templates. (proje…
…ct-chip#10718) * Instead of checking for "item.type == 'boolean'", which would not work right for command args (where the type is "BOOLEAN"), go through our normal type-mapping machinery and then use the resulting uniform output. * Add "single" to our atomic type overrides and remove manual handling of it in zapTypeToClusterObjectType. This incidentally fixes all the generated accessors for single-typed attributes. * Fix a debugging exception message to include the value that could not be handled in a more-correct way.
- Loading branch information
1 parent
081436f
commit abc069e
Showing
6 changed files
with
485 additions
and
489 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
Oops, something went wrong.