forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdishwasher-alarm-cluster.xml
81 lines (74 loc) · 3.88 KB
/
dishwasher-alarm-cluster.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
<?xml version="1.0"?>
<!--
Copyright (c) 2023-2025 Project CHIP Authors
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!--
XML generated by Alchemy; DO NOT EDIT.
Source: src/app_clusters/DishwasherAlarm.adoc
Parameters: in-progress
Git:
-->
<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd">
<domain name="CHIP"/>
<bitmap name="AlarmBitmap" type="bitmap32">
<cluster code="0x005D"/>
<field name="InflowError" mask="0x01"/>
<field name="DrainError" mask="0x02"/>
<field name="DoorError" mask="0x04"/>
<field name="TempTooLow" mask="0x08"/>
<field name="TempTooHigh" mask="0x10"/>
<field name="WaterLevelError" mask="0x20"/>
</bitmap>
<cluster>
<name>Dishwasher Alarm</name>
<domain>Appliances</domain>
<description>Attributes and commands for configuring the Dishwasher alarm.</description>
<code>0x005D</code>
<define>DISHWASHER_ALARM_CLUSTER</define>
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
<globalAttribute code="0xFFFD" side="either" value="1"/>
<features>
<feature bit="0" code="RESET" name="Reset" summary="Supports the ability to reset alarms">
<optionalConform/>
</feature>
</features>
<attribute side="server" code="0x0000" name="Mask" define="MASK" type="AlarmBitmap" default="0" min="0x00000000" max="0x0000003F">Mask</attribute>
<attribute side="server" code="0x0001" name="Latch" define="LATCH" type="AlarmBitmap" default="0" optional="true" min="0x00000000" max="0x0000003F">
<description>Latch</description>
<mandatoryConform>
<feature name="RESET"/>
</mandatoryConform>
</attribute>
<attribute side="server" code="0x0002" name="State" define="STATE" type="AlarmBitmap" default="0" min="0x00000000" max="0x0000003F">State</attribute>
<attribute side="server" code="0x0003" name="Supported" define="SUPPORTED" type="AlarmBitmap" default="0" min="0x00000000" max="0x0000003F">Supported</attribute>
<command source="client" code="0x00" name="Reset" optional="true">
<description>This command resets active and latched alarms (if possible).</description>
<arg id="0" name="Alarms" type="AlarmBitmap" default="0x00000000" min="0x00000000" max="0x0000003F"/>
<mandatoryConform>
<feature name="RESET"/>
</mandatoryConform>
</command>
<command source="client" code="0x01" name="ModifyEnabledAlarms" optional="true">
<description>This command allows a client to request that an alarm be enabled or suppressed at the server.</description>
<arg id="0" name="Mask" type="AlarmBitmap" default="0x00000000" min="0x00000000" max="0x0000003F"/>
<optionalConform/>
</command>
<event side="server" code="0x00" priority="info" name="Notify">
<description>This event SHALL be generated when one or more alarms change state, and SHALL have these fields: </description>
<field id="0" name="Active" type="AlarmBitmap" default="0x00000000" min="0x00000000" max="0x0000003F"/>
<field id="1" name="Inactive" type="AlarmBitmap" default="0x00000000" min="0x00000000" max="0x0000003F"/>
<field id="2" name="State" type="AlarmBitmap" default="0x00000000" min="0x00000000" max="0x0000003F"/>
<field id="3" name="Mask" type="AlarmBitmap" default="0x00000000" min="0x00000000" max="0x0000003F"/>
</event>
</cluster>
</configurator>