Skip to content
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

Ensure db mapping aliases commandName for commands and add response Names #981

Merged

Conversation

andy31415
Copy link
Contributor

@andy31415 andy31415 commented Mar 27, 2023

This is to make codegen simpler in matter SDK:

  • commandName as an alias to name makes things interop between #all_outgoing_commands_for_cluster and zcl_commands_source_client (and overall zcl_commands vs zcl_commands_source_*).

  • responseName/RESPONSE_NAME is useful to interop between things like #all_outgoing_commands_for_cluster and #zcl_commands and #zcl_commands_source_*

…ility) and that commands by cluster contain response names
andy31415 added a commit to andy31415/connectedhomeip that referenced this pull request Mar 27, 2023
@andy31415 andy31415 merged commit 15f96c4 into project-chip:master Mar 27, 2023
andy31415 added a commit to project-chip/connectedhomeip that referenced this pull request Mar 28, 2023
…matter IDL files (#25853)

* Generate all client-side commands and structures. This requires zap updates after project-chip/zap#981

* ZAP regen all

* Use zap 2023.03.27 to pick up clusterName and responseName access

* Update minimum zap version

* Start using zcl_commands_source_client instead of chip_cluster_responses

* Update invoke callbacks too to use updated stateless loop methods

* Noop update: switch loop method and conditional that is not needed

* Switch to source_server instead of source_client

---------

Co-authored-by: Andrei Litvin <[email protected]>
@tecimovic tecimovic mentioned this pull request Apr 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants