-
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.
Add commands support for dynamically generated clusters in dynamic-br…
…idge-app (#23840) * Add commands for bridge-generated dynamic clusters * Allow reads and writes to externally stored OnOff cluster attribute * dynamic-bridge-app: implement generic read and write callbacks for externally stored attributes * Update bridge idl tests to include external storage flags * Restyled by clang-format * Document the data buffer padding size used when reading/writing external attributes * Add better error handling for attribute read/write overrides in dynamic-bridge-app * Allow bitmap32 attribute reads for dynamic clusters in dynamic-bridge-app * Adjust indentation in BridgeClustersCpp.jinja * Change the incoming command list for generated clusters to static * Change the incoming command list for generated clusters to const * Rename incomingCommandList to mIncomingCommandList for generated clusters in dynamic-bridge-app * add a test for bridge generated cluster headers * Restyle one line if statements in dynamic-bridge-app main.cpp * dynamic-bridge-app: change buffer read logic to assume byte arrays * Restyled by clang-format * dynamic-bridge-app: move tests to the proper location * dynamic-bridge-app: undo formatting done to matter_idl tests restyled by clang-formatter * dynamic-bridge-app: change read and write functions to use AnonymousTag() instead of Tag() * dynamic-bridge-app: document unclear code and refactor function and variable names for better readability * dynamic-bridge-app: mark OnListWriteBegin and OnListWriteEnd as overrides * dynamic-bridge-app: fix error handling in WriteValueToBuffer * dynamic-bridge-app: simplify the include path in BridgeClustersCpp jinja template and update the relevant tests * dynamic-bridge-app: change CHIP_ERROR_BUFFER_TOO_SMALL errors to CHIP_ERROR_INVALID_ARGUMENT * dynamic-bridge-app: allow read operations on externally stored list attributes * Restyled by whitespace * Restyled by clang-format * dynamic-bridge-app: formatting - add whitespace between function definitions * dynamic-bridge-app: fix typo in GeneratedClusters.h Co-authored-by: Restyled.io <[email protected]>
- Loading branch information
Showing
19 changed files
with
551 additions
and
31 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
Oops, something went wrong.