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

Convert CommandHandlerInterface command listing to provide full data #37139

Open
andy31415 opened this issue Jan 21, 2025 · 0 comments
Open

Convert CommandHandlerInterface command listing to provide full data #37139

andy31415 opened this issue Jan 21, 2025 · 0 comments

Comments

@andy31415
Copy link
Contributor

Currently CHI only exposes an "enumerate" command for command IDs (like https://github.com/project-chip/connectedhomeip/blob/master/src/app/CommandHandlerInterface.h#L125)

However this is insufficient as commands have attributes for invoke permissions (several existing ones should be admin) and timed-invoke flags and similar. We need CHI to take full control and return the entire set of "command id + flags + invoke permissions" like defined in https://github.com/project-chip/connectedhomeip/blob/master/src/app/data-model-provider/MetadataTypes.h#L116

This should probably wait for #37127 to be finalized, so that the same structures/builders can be re-used.

Since this will be an API change, the update should be documented in https://github.com/project-chip/connectedhomeip/blob/master/docs/upgrading.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

1 participant