From ac886015199a390a12659c5f22f709060cdfd097 Mon Sep 17 00:00:00 2001 From: Yufeng Wang Date: Mon, 24 Feb 2025 13:11:10 -0800 Subject: [PATCH] Align XML definition for Push AV Stream Transport Cluster with spec --- .../chip/push-av-stream-transport-cluster.xml | 8 ++++++-- .../zap-generated/cluster-objects.cpp | 20 +++++++++++++++++++ 2 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/app/zap-templates/zcl/data-model/chip/push-av-stream-transport-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/push-av-stream-transport-cluster.xml index f7123811868a06..59646c8cc6ee09 100644 --- a/src/app/zap-templates/zcl/data-model/chip/push-av-stream-transport-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/push-av-stream-transport-cluster.xml @@ -18,7 +18,7 @@ limitations under the License. XML generated by Alchemy; DO NOT EDIT. Source: src/app_clusters/PushAVStreamTransport.adoc Parameters: in-progress -Git: 1.4-534-g3214b3502 +Git: 0.7-summer-2025-177-gd33ec772f --> @@ -145,7 +145,7 @@ Git: 1.4-534-g3214b3502 - + Cameras Push AV Stream Transport 0x0555 PUSH_AV_STREAM_TRANSPORT_CLUSTER @@ -164,11 +164,13 @@ Git: 1.4-534-g3214b3502 This command SHALL allocate a transport and return a PushTransportConnectionID. + This command SHALL be generated in response to an AllocatePushTransport command. + @@ -203,11 +205,13 @@ Git: 1.4-534-g3214b3502 This command SHALL return the Stream Options Configuration for the specified push transport. + This command SHALL be generated in response to a FindTransport command. + diff --git a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp index 5e37f5c1688bda..5c3c082e5f4d9a 100644 --- a/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp +++ b/zzz_generated/app-common/app-common/zap-generated/cluster-objects.cpp @@ -37432,6 +37432,26 @@ bool CommandHasLargePayload(ClusterId aCluster, CommandId aCommand) { return true; } + if ((aCluster == Clusters::PushAvStreamTransport::Id) && + (aCommand == Clusters::PushAvStreamTransport::Commands::AllocatePushTransport::Id)) + { + return true; + } + if ((aCluster == Clusters::PushAvStreamTransport::Id) && + (aCommand == Clusters::PushAvStreamTransport::Commands::AllocatePushTransportResponse::Id)) + { + return true; + } + if ((aCluster == Clusters::PushAvStreamTransport::Id) && + (aCommand == Clusters::PushAvStreamTransport::Commands::FindTransport::Id)) + { + return true; + } + if ((aCluster == Clusters::PushAvStreamTransport::Id) && + (aCommand == Clusters::PushAvStreamTransport::Commands::FindTransportResponse::Id)) + { + return true; + } return false; }