Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 4 commits into from
Sep 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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">
yufengwangca marked this conversation as resolved.
Show resolved Hide resolved
<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