Ensure all commands are generated for client cluster definitions in .matter IDL files (#25853)
* Generate all client-side commands and structures. This requires zap updates after https://github.com/project-chip/zap/pull/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 <andreilitvin@google.com>
diff --git a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
index af61042..c3ec452 100644
--- a/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
+++ b/examples/chef/devices/rootnode_fan_7N2TobIlOX.matter
@@ -285,16 +285,6 @@
optional OCTET_STRING<512> metadataForProvider = 7;
}
- request struct ApplyUpdateRequestRequest {
- OCTET_STRING<32> updateToken = 0;
- INT32U newVersion = 1;
- }
-
- request struct NotifyUpdateAppliedRequest {
- OCTET_STRING<32> updateToken = 0;
- INT32U softwareVersion = 1;
- }
-
response struct QueryImageResponse = 1 {
OTAQueryStatus status = 0;
optional INT32U delayedActionTime = 1;
@@ -306,11 +296,21 @@
optional OCTET_STRING<512> metadataForRequestor = 7;
}
+ request struct ApplyUpdateRequestRequest {
+ OCTET_STRING<32> updateToken = 0;
+ INT32U newVersion = 1;
+ }
+
response struct ApplyUpdateResponse = 3 {
OTAApplyUpdateAction action = 0;
INT32U delayedActionTime = 1;
}
+ request struct NotifyUpdateAppliedRequest {
+ OCTET_STRING<32> updateToken = 0;
+ INT32U softwareVersion = 1;
+ }
+
command QueryImage(QueryImageRequest): QueryImageResponse = 0;
command ApplyUpdateRequest(ApplyUpdateRequestRequest): ApplyUpdateResponse = 2;
command NotifyUpdateApplied(NotifyUpdateAppliedRequest): DefaultSuccess = 4;