Skip to content

Commit

Permalink
Update Binding cluster requirement in device type to align with the s…
Browse files Browse the repository at this point in the history
…pec (#22286)

* Revert "Update Binding cluster requirement in device type to align with the spec (#22119)"

This reverts commit 150d741.

* Update Binding cluster requirement in device type to align with the spec

* Include Binding cluster to all-cluster-app
  • Loading branch information
yufengwangca authored Sep 1, 2022
1 parent 26bfa09 commit f16c2a5
Showing 1 changed file with 12 additions and 33 deletions.
45 changes: 12 additions & 33 deletions src/app/zap-templates/zcl/data-model/chip/matter-devices.xml
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>GROUP_NAME_SUPPORT</requireAttribute>
<requireCommand>AddGroup</requireCommand>
Expand Down Expand Up @@ -494,9 +491,6 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>GROUP_NAME_SUPPORT</requireAttribute>
<requireCommand>AddGroup</requireCommand>
Expand Down Expand Up @@ -639,9 +633,6 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>GROUP_NAME_SUPPORT</requireAttribute>
<requireCommand>AddGroup</requireCommand>
Expand Down Expand Up @@ -724,9 +715,6 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>GROUP_NAME_SUPPORT</requireAttribute>
<requireCommand>AddGroup</requireCommand>
Expand Down Expand Up @@ -887,7 +875,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="false" clientLocked="false" serverLocked="true">
Expand Down Expand Up @@ -946,7 +934,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="false" clientLocked="false" serverLocked="true">
Expand Down Expand Up @@ -1006,7 +994,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="false" clientLocked="false" serverLocked="true">
Expand Down Expand Up @@ -1067,7 +1055,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="true" server="false" clientLocked="true" serverLocked="true">
Expand Down Expand Up @@ -1101,7 +1089,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="true" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="false" clientLocked="false" serverLocked="true">
Expand Down Expand Up @@ -1370,7 +1358,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="false" clientLocked="false" serverLocked="true"></include>
Expand Down Expand Up @@ -1421,7 +1409,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Door Lock" client="true" server="false" clientLocked="true" serverLocked="true"></include>
Expand Down Expand Up @@ -1504,7 +1492,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Scenes" client="false" server="false" clientLocked="false" serverLocked="true"></include>
Expand Down Expand Up @@ -1532,7 +1520,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Groups" client="false" server="true" clientLocked="true" serverLocked="true">
Expand Down Expand Up @@ -1738,7 +1726,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="false" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Media Playback" client="true" server="false" clientLocked="false" serverLocked="false"></include>
Expand Down Expand Up @@ -1770,7 +1758,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="false" serverLocked="true">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Media Playback" client="true" server="false" clientLocked="true" serverLocked="false"></include>
Expand Down Expand Up @@ -1808,9 +1796,6 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="On/Off" client="false" server="true" clientLocked="false" serverLocked="true"></include>
<include cluster="Level Control" client="false" server="true" clientLocked="false" serverLocked="true"></include>
</clusters>
Expand All @@ -1835,9 +1820,6 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Application Basic" client="false" server="true" clientLocked="false" serverLocked="true"></include>
<include cluster="Keypad Input" client="false" server="true" clientLocked="false" serverLocked="true"></include>
<include cluster="Application Launcher" client="false" server="true" clientLocked="false" serverLocked="true"></include>
Expand Down Expand Up @@ -1868,9 +1850,6 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Mode Select" client="false" server="true" clientLocked="false" serverLocked="true"></include>
</clusters>
</deviceType>
Expand All @@ -1894,7 +1873,7 @@ limitations under the License.
<requireAttribute>CLIENT_LIST</requireAttribute>
<requireAttribute>PARTS_LIST</requireAttribute>
</include>
<include cluster="Binding" client="false" server="false" clientLocked="true" serverLocked="false">
<include cluster="Binding" client="false" server="true" clientLocked="true" serverLocked="false">
<requireAttribute>BINDING</requireAttribute>
</include>
<include cluster="Barrier Control" client="true" server="true" clientLocked="true" serverLocked="true">
Expand Down

0 comments on commit f16c2a5

Please sign in to comment.