Convert CommandHandlerInterface command listing to provide full data #37139
Description
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
Metadata
Assignees
Labels
Type
Projects
Status
In Progress