From 753bef3a8fb7a6180f9ca28e8f937aa1078782e3 Mon Sep 17 00:00:00 2001 From: yunhanw Date: Wed, 22 Sep 2021 01:10:29 -0700 Subject: [PATCH] update xml for struct and enum with cluster id Add cluster id for enum and struct to create relathship between cluster and enum/struct. --- .../administrator-commissioning-cluster.xml | 1 + .../chip/application-basic-cluster.xml | 1 + .../chip/application-launcher-cluster.xml | 2 ++ .../data-model/chip/audio-output-cluster.xml | 2 ++ .../zcl/data-model/chip/chip-ota.xml | 4 ++++ .../zcl/data-model/chip/commissioning.xml | 3 +++ .../chip/content-launch-cluster.xml | 9 +++++++ .../data-model/chip/descriptor-cluster.xml | 1 + .../chip/diagnostic-logs-cluster.xml | 3 +++ .../ethernet-network-diagnostics-cluster.xml | 1 + .../data-model/chip/fixed-label-cluster.xml | 1 + .../chip/general-commissioning-cluster.xml | 3 +++ .../chip/general-diagnostics-cluster.xml | 6 +++++ .../chip/group-key-mgmt-cluster.xml | 3 +++ .../data-model/chip/keypad-input-cluster.xml | 2 ++ .../data-model/chip/media-input-cluster.xml | 2 ++ .../chip/media-playback-cluster.xml | 3 +++ .../zcl/data-model/chip/onoff-cluster.xml | 3 +++ .../chip/operational-credentials-cluster.xml | 3 +++ ...pump-configuration-and-control-cluster.xml | 2 ++ .../chip/software-diagnostics-cluster.xml | 1 + .../chip/target-navigator-cluster.xml | 12 ++++++---- .../zcl/data-model/chip/test-cluster.xml | 24 ++++++++++++------- .../thread-network-diagnostics-cluster.xml | 6 +++++ .../data-model/chip/tv-channel-cluster.xml | 4 ++++ .../chip/wifi-network-diagnostics-cluster.xml | 2 ++ .../zcl/data-model/chip/window-covering.xml | 2 ++ .../zcl/data-model/silabs/ami.xml | 5 ++++ 28 files changed, 97 insertions(+), 14 deletions(-) diff --git a/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml index 1dd8944e50e884..90986f77860baf 100644 --- a/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/administrator-commissioning-cluster.xml @@ -18,6 +18,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml index abc8951e75baa4..78445b3b779b16 100644 --- a/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/application-basic-cluster.xml @@ -39,6 +39,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml index 462bddb35e47a3..e07a9cd6badfbb 100644 --- a/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml @@ -47,11 +47,13 @@ limitations under the License. + + diff --git a/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml index e9bfe60f4da42e..d1cae9fa4aebf0 100644 --- a/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/audio-output-cluster.xml @@ -42,12 +42,14 @@ limitations under the License. + + diff --git a/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml b/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml index dbd37034b689c1..b5015bff24cfb2 100644 --- a/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml +++ b/src/app/zap-templates/zcl/data-model/chip/chip-ota.xml @@ -17,16 +17,19 @@ limitations under the License. + + + @@ -79,6 +82,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/commissioning.xml b/src/app/zap-templates/zcl/data-model/chip/commissioning.xml index 97b417b87cefe3..9db6dc5450ad9f 100644 --- a/src/app/zap-templates/zcl/data-model/chip/commissioning.xml +++ b/src/app/zap-templates/zcl/data-model/chip/commissioning.xml @@ -17,6 +17,7 @@ limitations under the License. + @@ -46,6 +47,7 @@ limitations under the License. + @@ -53,6 +55,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml index 5dc126b62e43e2..83ee982e37f7ce 100644 --- a/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/content-launch-cluster.xml @@ -58,16 +58,19 @@ limitations under the License. + + + @@ -76,6 +79,7 @@ limitations under the License. + @@ -83,6 +87,7 @@ limitations under the License. + @@ -98,6 +103,7 @@ limitations under the License. + @@ -112,17 +118,20 @@ limitations under the License. + + + diff --git a/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml index cbd2879f3136ab..8b64d44ff4222c 100644 --- a/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/descriptor-cluster.xml @@ -18,6 +18,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml index 6ee8ec6e663b48..276cec42d0bd02 100644 --- a/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/diagnostic-logs-cluster.xml @@ -17,11 +17,13 @@ limitations under the License. + + @@ -29,6 +31,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml index c8f30533c2c768..f8e87508422308 100644 --- a/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/ethernet-network-diagnostics-cluster.xml @@ -17,6 +17,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml index 5fea8674ff69f8..76f4920c7e5eb7 100644 --- a/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/fixed-label-cluster.xml @@ -18,6 +18,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml index d5ce22343fb0da..ebbbe38c1b37ba 100644 --- a/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/general-commissioning-cluster.xml @@ -17,16 +17,19 @@ limitations under the License. + + + diff --git a/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml index ae3b63aa18ba9c..b03f6829971b31 100644 --- a/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/general-diagnostics-cluster.xml @@ -17,6 +17,7 @@ limitations under the License. + @@ -30,6 +31,7 @@ limitations under the License. + @@ -39,12 +41,14 @@ limitations under the License. + + @@ -54,6 +58,7 @@ limitations under the License. + @@ -61,6 +66,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml index c989f8da3047cc..66e8a110d7eafa 100644 --- a/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/group-key-mgmt-cluster.xml @@ -18,12 +18,14 @@ limitations under the License. + + @@ -32,6 +34,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml index 4127c99ce3954b..a87cb4e6ae4788 100644 --- a/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/keypad-input-cluster.xml @@ -39,12 +39,14 @@ limitations under the License. + + diff --git a/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml index b3d295eda59e01..a7dd293f03a032 100644 --- a/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/media-input-cluster.xml @@ -50,6 +50,7 @@ limitations under the License. + @@ -57,6 +58,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml index 6aea0f08912c19..292ddc6d659a44 100644 --- a/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/media-playback-cluster.xml @@ -142,11 +142,13 @@ limitations under the License. + + @@ -154,6 +156,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml index a713eabb70d388..012807aa77b16c 100644 --- a/src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/onoff-cluster.xml @@ -18,17 +18,20 @@ limitations under the License. + + + diff --git a/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml index 56829de26132a2..0aba7d487fe66d 100644 --- a/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/operational-credentials-cluster.xml @@ -18,6 +18,7 @@ limitations under the License. + @@ -27,6 +28,7 @@ limitations under the License. + @@ -40,6 +42,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml index 5693a51462bc38..00a053a4d69db9 100644 --- a/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/pump-configuration-and-control-cluster.xml @@ -63,6 +63,7 @@ limitations under the License. + @@ -70,6 +71,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml index 0b4f339f6472d6..3bbe5761679676 100644 --- a/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/software-diagnostics-cluster.xml @@ -17,6 +17,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml index 70aa60616d2007..ea6e39e239ae60 100644 --- a/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/target-navigator-cluster.xml @@ -42,13 +42,15 @@ limitations under the License. - - - + + + + - - + + + diff --git a/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml index d07372f05b98d2..27c3dee96faeac 100644 --- a/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/test-cluster.xml @@ -18,11 +18,13 @@ limitations under the License. + + @@ -30,6 +32,7 @@ limitations under the License. + @@ -37,15 +40,17 @@ limitations under the License. - + + - - + + - + + @@ -64,6 +65,7 @@ limitations under the License. + @@ -71,10 +73,12 @@ limitations under the License. + + diff --git a/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml index df80c8316a69cf..0b0323c618b8d0 100644 --- a/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml +++ b/src/app/zap-templates/zcl/data-model/chip/wifi-network-diagnostics-cluster.xml @@ -17,6 +17,7 @@ limitations under the License. + @@ -25,6 +26,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/chip/window-covering.xml b/src/app/zap-templates/zcl/data-model/chip/window-covering.xml index c1dd3dc19d5518..d423ca77a214a6 100644 --- a/src/app/zap-templates/zcl/data-model/chip/window-covering.xml +++ b/src/app/zap-templates/zcl/data-model/chip/window-covering.xml @@ -86,6 +86,7 @@ limitations under the License. + @@ -100,6 +101,7 @@ limitations under the License. + diff --git a/src/app/zap-templates/zcl/data-model/silabs/ami.xml b/src/app/zap-templates/zcl/data-model/silabs/ami.xml index 9df7328e3572d6..8eed41a694bfb3 100644 --- a/src/app/zap-templates/zcl/data-model/silabs/ami.xml +++ b/src/app/zap-templates/zcl/data-model/silabs/ami.xml @@ -32,22 +32,26 @@ limitations under the License. + + + + @@ -130,6 +134,7 @@ limitations under the License. +