Fix for x86_64 build fail
[platform/upstream/connectedhomeip.git] / src / app / zap-templates / zcl / data-model / silabs / general-thread.xml
1 <?xml version="1.0"?>
2 <!--
3 Copyright (c) 2008,2020 Silicon Labs.
4
5 Licensed under the Apache License, Version 2.0 (the "License");
6 you may not use this file except in compliance with the License.
7 You may obtain a copy of the License at
8
9     http://www.apache.org/licenses/LICENSE-2.0
10
11 Unless required by applicable law or agreed to in writing, software
12 distributed under the License is distributed on an "AS IS" BASIS,
13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 See the License for the specific language governing permissions and
15 limitations under the License.
16 -->
17 <configurator>
18   <domain name="General" spec="zcl-7.0-07-5123-07" certifiable="false">
19     <older spec="zcl-6.0-15-02017-001"/>
20   </domain>
21   <domain name="Lighting &amp; Occupancy" spec="l&amp;o-1.0-15-0014-04" certifiable="false"/>
22   <domain name="HA" spec="ha-1.2.1-05-3520-30" dependsOn="zcl-1.0-07-5123-03" certifiable="false">
23     <older spec="ha-1.2-05-3520-29" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
24     <older spec="ha-1.1-05-3520-27" dependsOn="zcl-1.0-07-5123-03" certifiable="true"/>
25   </domain>
26   <global>
27     <command code="0x00" name="ReadAttributes" source="either">
28       <description>
29         Command description for ReadAttributes
30       </description>
31       <arg name="attributeIds" type="ATTRIBUTE_ID" array="true"/>
32     </command>
33     <command code="0x01" name="ReadAttributesResponse" source="either" disableDefaultResponse="true">
34       <description>
35         Command description for ReadAttributesResponse
36       </description>
37       <arg name="readAttributeStatusRecords" type="ReadAttributeStatusRecord" array="true"/>
38     </command>
39     <command code="0x02" name="WriteAttributes" source="either">
40       <description>
41         Command description for WriteAttributes
42       </description>
43       <arg name="writeAttributeRecords" type="WriteAttributeRecord" array="true"/>
44     </command>
45     <command code="0x03" name="WriteAttributesUndivided" source="either">
46       <description>
47         Command description for WriteAttributesUndivided
48       </description>
49       <arg name="writeAttributeRecords" type="WriteAttributeRecord" array="true"/>
50     </command>
51     <command code="0x04" name="WriteAttributesResponse" source="either" disableDefaultResponse="true">
52       <description>
53         Command description for WriteAttributesResponse
54       </description>
55       <arg name="writeAttributeStatusRecords" type="WriteAttributeStatusRecord" array="true"/>
56     </command>
57     <command code="0x05" name="WriteAttributesNoResponse" source="either" disableDefaultResponse="true">
58       <description>
59         Command description for WriteAttributesNoResponse
60       </description>
61       <arg name="writeAttributeRecords" type="WriteAttributeRecord" array="true"/>
62     </command>
63     <command code="0x06" name="ConfigureReporting" source="either">
64       <description>
65         Command description for ConfigureReporting
66       </description>
67       <arg name="configureReportingRecords" type="ConfigureReportingRecord" array="true"/>
68     </command>
69     <command code="0x07" name="ConfigureReportingResponse" source="either" disableDefaultResponse="true">
70       <description>
71         Command description for ConfigureReportingResponse
72       </description>
73       <arg name="configureReportingStatusRecords" type="ConfigureReportingStatusRecord" array="true"/>
74     </command>
75     <command code="0x08" name="ReadReportingConfiguration" source="either">
76       <description>
77         Command description for ReadReportingConfiguration
78       </description>
79       <arg name="readReportingConfigurationAttributeRecords" type="ReadReportingConfigurationAttributeRecord" array="true"/>
80     </command>
81     <command code="0x09" name="ReadReportingConfigurationResponse" source="either" disableDefaultResponse="true">
82       <description>
83         Command description for ReadReportingConfigurationResponse
84       </description>
85       <arg name="readReportingConfigurationRecords" type="ReadReportingConfigurationRecord" array="true"/>
86     </command>
87     <command code="0x0A" name="ReportAttributes" source="either">
88       <description>
89         Command description for ReportAttributes
90       </description>
91       <arg name="reportAttributeRecords" type="ReportAttributeRecord" array="true"/>
92     </command>
93     <command code="0x0B" name="DefaultResponse" source="either" disableDefaultResponse="true">
94       <description>
95         Command description for DefaultResponse
96       </description>
97       <arg name="commandId" type="INT8U"/>
98       <arg name="status" type="Status"/>
99     </command>
100     <command code="0x0C" name="DiscoverAttributes" source="either">
101       <description>
102         Command description for DiscoverAttributes
103       </description>
104       <arg name="startId" type="ATTRIBUTE_ID"/>
105       <arg name="maxAttributeIds" type="INT8U"/>
106     </command>
107     <command code="0x0D" name="DiscoverAttributesResponse" source="either" disableDefaultResponse="true">
108       <description>
109         Command description for DiscoverAttributesResponse
110       </description>
111       <arg name="discoveryComplete" type="INT8U"/>
112       <arg name="discoverAttributesInfoRecords" type="DiscoverAttributesInfoRecord" array="true"/>
113     </command>
114     <command code="0x0E" name="ReadAttributesStructured" source="either">
115       <description>
116         Command description for ReadAttributesStructured
117       </description>
118       <arg name="readStructuredAttributeRecords" type="ReadStructuredAttributeRecord" array="true"/>
119     </command>
120     <command code="0x0F" name="WriteAttributesStructured" source="either">
121       <description>
122         Command description for WriteAttributesStructured
123       </description>
124       <arg name="writeStructuredAttributeRecords" type="WriteStructuredAttributeRecord" array="true"/>
125     </command>
126     <command code="0x10" name="WriteAttributesStructuredResponse" source="either" disableDefaultResponse="true">
127       <description>
128         Command description for WriteAttributesStructuredResponse
129       </description>
130       <arg name="writeStructuredAttributeStatusRecords" type="WriteStructuredAttributeStatusRecord" array="true"/>
131     </command>
132     <command code="0x11" name="DiscoverCommandsReceived" source="either">
133       <description>This command may be used to discover all commands processed (received) by this cluster, including optional or manufacturer specific commands.</description>
134       <arg name="startCommandId" type="INT8U"/>
135       <arg name="maxCommandIds" type="INT8U"/>
136     </command>
137     <command code="0x12" name="DiscoverCommandsReceivedResponse" source="either" disableDefaultResponse="true">
138       <description>The discover commands received response command is sent in response to a discover commands received command, and is used to discover which commands a particular cluster can process.</description>
139       <arg name="discoveryComplete" type="INT8U"/>
140       <arg name="commandIds" type="INT8U" array="true"/>
141     </command>
142     <command code="0x13" name="DiscoverCommandsGenerated" source="either">
143       <description>This command may be used to discover all commands which may be generated (sent) by the cluster, including optional or manufacturer specific commands.</description>
144       <arg name="startCommandId" type="INT8U"/>
145       <arg name="maxCommandIds" type="INT8U"/>
146     </command>
147     <command code="0x14" name="DiscoverCommandsGeneratedResponse" source="either" disableDefaultResponse="true">
148       <description>The discover client commands response command is sent in response to a discover client commands command, and is used to discover which commands a particular cluster supports.</description>
149       <arg name="discoveryComplete" type="INT8U"/>
150       <arg name="commandIds" type="INT8U" array="true"/>
151     </command>
152     <command code="0x15" name="DiscoverAttributesExtended" source="either">
153       <description>This command is similar to the discover attributes command, but also includes a field to indicate whether the attribute is readable, writeable or reportable.</description>
154       <arg name="startId" type="ATTRIBUTE_ID"/>
155       <arg name="maxAttributeIds" type="INT8U"/>
156     </command>
157     <command code="0x16" name="DiscoverAttributesExtendedResponse" source="either" disableDefaultResponse="true">
158       <description>This command is sent in response to a discover attribute extended command and is used to determine if attributes are readable, writable or reportable.</description>
159       <arg name="discoveryComplete" type="INT8U"/>
160       <arg name="extendedDiscoverAttributesInfoRecords" type="ExtendedDiscoverAttributesInfoRecord" array="true"/>
161     </command>
162     <attribute side="client" code="0xFFFD" define="CLUSTER_REVISION_CLIENT" type="INT16U" min="0x0001" max="0xFFFE" writable="false" default="0x0001" optional="false" introducedIn="zcl-6.0-15-02017-001">cluster revision</attribute>
163     <attribute side="client" code="0xFFFE" define="REPORTING_STATUS_CLIENT" type="ENUM8" min="0x00" max="0xFF" writable="false" optional="true" introducedIn="zcl-6.0-15-02017-001">reporting status</attribute>
164     <attribute side="server" code="0xFFFD" define="CLUSTER_REVISION_SERVER" type="INT16U" min="0x0001" max="0xFFFE" writable="false" default="0x0001" optional="false" introducedIn="zcl-6.0-15-02017-001">cluster revision</attribute>
165     <attribute side="server" code="0xFFFE" define="REPORTING_STATUS_SERVER" type="ENUM8" min="0x00" max="0xFF" writable="false" optional="true" introducedIn="zcl-6.0-15-02017-001">reporting status</attribute>
166   </global>
167   <cluster singleton="true">
168     <name>Basic</name>
169     <domain>General</domain>
170     <description>Attributes for determining basic information about a device, setting user device information such as location, and enabling a device.</description>
171     <code>0x0000</code>
172     <define>BASIC_CLUSTER</define>
173     <client tick="false" init="false">true</client>
174     <server tick="false" init="false">true</server>
175     <attribute side="server" code="0x0000" define="VERSION" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x03" optional="false">ZCL version</attribute>
176     <!-- ZCL_VERSION -->
177     <attribute side="server" code="0x0001" define="APPLICATION_VERSION" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">application version</attribute>
178     <attribute side="server" code="0x0002" define="STACK_VERSION" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">stack version</attribute>
179     <attribute side="server" code="0x0003" define="HW_VERSION" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">hardware version</attribute>
180     <attribute side="server" code="0x0004" define="MANUFACTURER_NAME" type="CHAR_STRING" length="32" writable="false" default="" optional="true">manufacturer name</attribute>
181     <attribute side="server" code="0x0005" define="MODEL_IDENTIFIER" type="CHAR_STRING" length="32" writable="false" default="" optional="true">model identifier</attribute>
182     <attribute side="server" code="0x0006" define="DATE_CODE" type="CHAR_STRING" length="16" writable="false" default="" optional="true">date code</attribute>
183     <attribute side="server" code="0x0007" define="POWER_SOURCE" type="ENUM8" min="0x00" max="0xFF" writable="false" default="0x00" optional="false">power source</attribute>
184     <attribute side="server" code="0x0008" define="GENERIC_DEVICE_CLASS" type="ENUM8" min="0x00" max="0xFF" writable="false" default="0xFF" optional="true" introducedIn="l&amp;o-1.0-15-0014-04">generic device class</attribute>
185     <attribute side="server" code="0x0009" define="GENERIC_DEVICE_TYPE" type="ENUM8" min="0x00" max="0xFF" writable="false" default="0xFF" optional="true" introducedIn="l&amp;o-1.0-15-0014-04">generic device type</attribute>
186     <attribute side="server" code="0x000A" define="PRODUCT_CODE" type="OCTET_STRING" length="16" writable="false" optional="true" introducedIn="l&amp;o-1.0-15-0014-04">product code</attribute>
187     <attribute side="server" code="0x000B" define="PRODUCT_URL" type="CHAR_STRING" length="64" writable="false" optional="true" introducedIn="l&amp;o-1.0-15-0014-04">product url</attribute>
188     <attribute side="server" code="0x0010" define="LOCATION_DESCRIPTION" type="CHAR_STRING" length="16" writable="true" default="" optional="true">location description</attribute>
189     <attribute side="server" code="0x0011" define="PHYSICAL_ENVIRONMENT" type="ENUM8" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">physical environment</attribute>
190     <attribute side="server" code="0x0012" define="DEVICE_ENABLED" type="BOOLEAN" min="0x00" max="0x01" writable="true" default="0x01" optional="true">device enabled</attribute>
191     <attribute side="server" code="0x0013" define="ALARM_MASK" type="BITMAP8" min="0x00" max="0x03" writable="true" default="0x00" optional="true">alarm mask</attribute>
192     <attribute side="server" code="0x0014" define="DISABLE_LOCAL_CONFIG" type="BITMAP8" min="0x00" max="0x03" writable="true" default="0x00" optional="true">disable local config</attribute>
193     <command source="client" code="0x00" name="ResetToFactoryDefaults" optional="true" cli="zcl basic rtfd">
194       <description>Command that resets all attribute values to factory default.</description>
195     </command>
196   </cluster>
197   <cluster singleton="true">
198     <name>Power Configuration</name>
199     <domain>General</domain>
200     <description>Attributes for determining more detailed information about a device's power source(s), and for configuring under/over voltage alarms.</description>
201     <code>0x0001</code>
202     <define>POWER_CONFIG_CLUSTER</define>
203     <client tick="false" init="false">true</client>
204     <server tick="false" init="false">true</server>
205     <attribute side="server" code="0x0000" define="MAINS_VOLTAGE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="true">mains voltage</attribute>
206     <attribute side="server" code="0x0001" define="MAINS_FREQUENCY" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">mains frequency</attribute>
207     <attribute side="server" code="0x0010" define="MAINS_ALARM_MASK" type="BITMAP8" min="0x00" max="0x03" writable="true" default="0x00" optional="true">mains alarm mask</attribute>
208     <attribute side="server" code="0x0011" define="MAINS_VOLTAGE_MIN_THRESHOLD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">mains voltage min threshold</attribute>
209     <attribute side="server" code="0x0012" define="MAINS_VOLTAGE_MAX_THRESHOLD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0xFFFF" optional="true">mains voltage max threshold</attribute>
210     <attribute side="server" code="0x0013" define="MAINS_VOLTAGE_DWELL_TRIP_POINT" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">mains voltage dwell trip</attribute>
211     <attribute side="server" code="0x0020" define="BATTERY_VOLTAGE" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">battery voltage</attribute>
212     <attribute side="server" code="0x0021" define="BATTERY_PERCENTAGE_REMAINING" type="INT8U" min="0x00" max="0xFF" writable="false" reportable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery percentage remaining</attribute>
213     <attribute side="server" code="0x0030" define="BATTERY_MANUFACTURER" type="CHAR_STRING" length="16" writable="true" default="" optional="true">battery manufacturer</attribute>
214     <attribute side="server" code="0x0031" define="BATTERY_SIZE" type="ENUM8" min="0x00" max="0xFF" writable="true" default="0xFF" optional="true">battery size</attribute>
215     <attribute side="server" code="0x0032" define="BATTERY_AHR_RATING" type="INT16U" min="0x0000" max="0xFFFF" writable="true" optional="true">battery ahr rating</attribute>
216     <attribute side="server" code="0x0033" define="BATTERY_QUANTITY" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true">battery quantity</attribute>
217     <attribute side="server" code="0x0034" define="BATTERY_RATED_VOLTAGE" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true">battery rated voltage</attribute>
218     <attribute side="server" code="0x0035" define="BATTERY_ALARM_MASK" type="BITMAP8" min="0x00" max="0x01" writable="true" default="0x00" optional="true">battery alarm mask</attribute>
219     <attribute side="server" code="0x0036" define="BATTERY_VOLTAGE_MIN_THRESHOLD" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true">battery voltage min threshold</attribute>
220     <attribute side="server" code="0x0037" define="BATTERY_VOLTAGE_THRESHOLD_1" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery voltage threshold 1</attribute>
221     <attribute side="server" code="0x0038" define="BATTERY_VOLTAGE_THRESHOLD_2" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery voltage threshold 2</attribute>
222     <attribute side="server" code="0x0039" define="BATTERY_VOLTAGE_THRESHOLD_3" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery voltage threshold 3</attribute>
223     <attribute side="server" code="0x003a" define="BATTERY_PERCENTAGE_MIN_THRESHOLD" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery percentage min threshold</attribute>
224     <attribute side="server" code="0x003b" define="BATTERY_PERCENTAGE_THRESHOLD_1" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery percentage threshold 1</attribute>
225     <attribute side="server" code="0x003c" define="BATTERY_PERCENTAGE_THRESHOLD_2" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery percentage threshold 2</attribute>
226     <attribute side="server" code="0x003d" define="BATTERY_PERCENTAGE_THRESHOLD_3" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery percentage threshold 3</attribute>
227     <attribute side="server" code="0x003e" define="BATTERY_ALARM_STATE" type="BITMAP32" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" optional="true" introducedIn="ha-1.2-05-3520-29">battery alarm state</attribute>
228     <attribute side="server" code="0x0040" define="BATTERY_2_VOLTAGE" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 voltage</attribute>
229     <attribute side="server" code="0x0041" define="BATTERY_2_PERCENTAGE_REMAINING" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 percentage remaining</attribute>
230     <attribute side="server" code="0x0050" define="BATTERY_2_MANUFACTURER" type="CHAR_STRING" length="16" writable="true" default="" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 manufacturer</attribute>
231     <attribute side="server" code="0x0051" define="BATTERY_2_SIZE" type="ENUM8" min="0x00" max="0xFF" writable="true" default="0xFF" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 size</attribute>
232     <attribute side="server" code="0x0052" define="BATTERY_2_AHR_RATING" type="INT16U" min="0x0000" max="0xFFFF" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 ahr rating</attribute>
233     <attribute side="server" code="0x0053" define="BATTERY_2_QUANTITY" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 quantity</attribute>
234     <attribute side="server" code="0x0054" define="BATTERY_2_RATED_VOLTAGE" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 rated voltage</attribute>
235     <attribute side="server" code="0x0055" define="BATTERY_2_ALARM_MASK" type="BITMAP8" min="0x00" max="0x01" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 alarm mask</attribute>
236     <attribute side="server" code="0x0056" define="BATTERY_2_VOLTAGE_MIN_THRESHOLD" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 voltage min threshold</attribute>
237     <attribute side="server" code="0x0057" define="BATTERY_2_VOLTAGE_THRESHOLD_1" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 voltage threshold 1</attribute>
238     <attribute side="server" code="0x0058" define="BATTERY_2_VOLTAGE_THRESHOLD_2" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 voltage threshold 2</attribute>
239     <attribute side="server" code="0x0059" define="BATTERY_2_VOLTAGE_THRESHOLD_3" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 voltage threshold 3</attribute>
240     <attribute side="server" code="0x005a" define="BATTERY_2_PERCENTAGE_MIN_THRESHOLD" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 percentage min threshold</attribute>
241     <attribute side="server" code="0x005b" define="BATTERY_2_PERCENTAGE_THRESHOLD_1" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 percentage threshold 1</attribute>
242     <attribute side="server" code="0x005c" define="BATTERY_2_PERCENTAGE_THRESHOLD_2" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 percentage threshold 2</attribute>
243     <attribute side="server" code="0x005d" define="BATTERY_2_PERCENTAGE_THRESHOLD_3" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 percentage threshold 3</attribute>
244     <attribute side="server" code="0x005e" define="BATTERY_2_ALARM_STATE" type="BITMAP32" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" optional="true" introducedIn="ha-1.2-05-3520-29">battery 2 alarm state</attribute>
245     <attribute side="server" code="0x0060" define="BATTERY_3_VOLTAGE" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 voltage</attribute>
246     <attribute side="server" code="0x0061" define="BATTERY_3_PERCENTAGE_REMAINING" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 percentage remaining</attribute>
247     <attribute side="server" code="0x0070" define="BATTERY_3_MANUFACTURER" type="CHAR_STRING" length="16" writable="true" default="" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 manufacturer</attribute>
248     <attribute side="server" code="0x0071" define="BATTERY_3_SIZE" type="ENUM8" min="0x00" max="0xFF" writable="true" default="0xFF" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 size</attribute>
249     <attribute side="server" code="0x0072" define="BATTERY_3_AHR_RATING" type="INT16U" min="0x0000" max="0xFFFF" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 ahr rating</attribute>
250     <attribute side="server" code="0x0073" define="BATTERY_3_QUANTITY" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 quantity</attribute>
251     <attribute side="server" code="0x0074" define="BATTERY_3_RATED_VOLTAGE" type="INT8U" min="0x00" max="0xFF" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 rated voltage</attribute>
252     <attribute side="server" code="0x0075" define="BATTERY_3_ALARM_MASK" type="BITMAP8" min="0x00" max="0x01" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 alarm mask</attribute>
253     <attribute side="server" code="0x0076" define="BATTERY_3_VOLTAGE_MIN_THRESHOLD" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 voltage min threshold</attribute>
254     <attribute side="server" code="0x0077" define="BATTERY_3_VOLTAGE_THRESHOLD_1" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 voltage threshold 1</attribute>
255     <attribute side="server" code="0x0078" define="BATTERY_3_VOLTAGE_THRESHOLD_2" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 voltage threshold 2</attribute>
256     <attribute side="server" code="0x0079" define="BATTERY_3_VOLTAGE_THRESHOLD_3" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 voltage threshold 3</attribute>
257     <attribute side="server" code="0x007a" define="BATTERY_3_PERCENTAGE_MIN_THRESHOLD" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 percentage min threshold</attribute>
258     <attribute side="server" code="0x007b" define="BATTERY_3_PERCENTAGE_THRESHOLD_1" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 percentage threshold 1</attribute>
259     <attribute side="server" code="0x007c" define="BATTERY_3_PERCENTAGE_THRESHOLD_2" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 percentage threshold 2</attribute>
260     <attribute side="server" code="0x007d" define="BATTERY_3_PERCENTAGE_THRESHOLD_3" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 percentage threshold 3</attribute>
261     <attribute side="server" code="0x007e" define="BATTERY_3_ALARM_STATE" type="BITMAP32" min="0x00000000" max="0xFFFFFFFF" writable="false" default="0x00000000" optional="true" introducedIn="ha-1.2-05-3520-29">battery 3 alarm state</attribute>
262   </cluster>
263   <cluster>
264     <name>Device Temperature Configuration</name>
265     <domain>General</domain>
266     <description>Attributes for determining information about a device's internal temperature, and for configuring under/over temperature alarms.</description>
267     <code>0x0002</code>
268     <define>DEVICE_TEMP_CLUSTER</define>
269     <client tick="false" init="false">true</client>
270     <server tick="false" tickFrequency="half" init="false">true</server>
271     <attribute side="server" code="0x0000" define="CURRENT_TEMPERATURE" type="INT16S" min="-200" max="200" writable="false" optional="false">current temperature</attribute>
272     <attribute side="server" code="0x0001" define="MIN_TEMP_EXPERIENCED" type="INT16S" min="-200" max="200" writable="false" optional="true">min temp experienced</attribute>
273     <attribute side="server" code="0x0002" define="MAX_TEMP_EXPERIENCED" type="INT16S" min="-200" max="200" writable="false" optional="true">max temp experienced</attribute>
274     <attribute side="server" code="0x0003" define="OVER_TEMP_TOTAL_DWELL" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">over temp total dwell</attribute>
275     <attribute side="server" code="0x0010" define="DEVICE_TEMP_ALARM_MASK" type="BITMAP8" min="0x00" max="0x03" writable="true" default="0x00" optional="true">device temp alarm mask</attribute>
276     <attribute side="server" code="0x0011" define="LOW_TEMP_THRESHOLD" type="INT16S" min="-200" max="200" writable="true" optional="true">low temp threshold</attribute>
277     <attribute side="server" code="0x0012" define="HIGH_TEMP_THRESHOLD" type="INT16S" min="-200" max="200" writable="true" optional="true">high temp threshold</attribute>
278     <attribute side="server" code="0x0013" define="LOW_TEMP_DWELL_TRIP_POINT" type="INT24U" min="0x000000" max="0xFFFFFF" writable="true" optional="true">low temp dwell trip point</attribute>
279     <attribute side="server" code="0x0014" define="HIGH_TEMP_DWELL_TRIP_POINT" type="INT24U" min="0x000000" max="0xFFFFFF" writable="true" optional="true">high temp dwell trip point</attribute>
280   </cluster>
281   <cluster>
282     <name>Identify</name>
283     <domain>General</domain>
284     <description>Attributes and commands for putting a device into Identification mode (e.g. flashing a light).</description>
285     <code>0x0003</code>
286     <define>IDENTIFY_CLUSTER</define>
287     <client tick="false" init="false">true</client>
288     <server tick="false" init="false">true</server>
289     <attribute side="server" code="0x0000" define="IDENTIFY_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="false">identify time</attribute>
290     <attribute side="server" code="0x0001" define="COMMISSION_STATE" type="BITMAP8" min="0x00" max="0xFF" writable="false" default="0x00" optional="true">commission state</attribute>
291     <command source="client" code="0x00" name="Identify" optional="false" cli="zcl identify id">
292       <description>
293         Command description for Identify
294       </description>
295       <arg name="identifyTime" type="INT16U"/>
296     </command>
297     <command source="client" code="0x01" name="IdentifyQuery" optional="false" cli="zcl identify query">
298       <description>
299         Command description for IdentifyQuery
300       </description>
301     </command>
302     <command source="client" code="0x02" name="EZModeInvoke" optional="true" cli="zcl identify ez-mode">
303       <description>
304            Invoke EZMode on an Identify Server
305       </description>
306       <arg name="action" type="BITMAP8"/>
307     </command>
308     <command source="client" code="0x03" name="UpdateCommissionState" optional="true">
309       <description>
310           Update Commission State on the server device.
311       </description>
312       <arg name="action" type="ENUM8"/>
313       <arg name="commissionStateMask" type="BITMAP8"/>
314     </command>
315     <command source="server" code="0x00" name="IdentifyQueryResponse" optional="false" disableDefaultResponse="true">
316       <description>
317         Command description for IdentifyQueryResponse
318       </description>
319       <arg name="timeout" type="INT16U"/>
320     </command>
321   </cluster>
322   <cluster>
323     <name>Groups</name>
324     <domain>General</domain>
325     <description>Attributes and commands for group configuration and manipulation.</description>
326     <code>0x0004</code>
327     <define>GROUPS_CLUSTER</define>
328     <client init="false" tick="false">true</client>
329     <server init="false" tick="false">true</server>
330     <attribute side="server" code="0x0000" define="GROUP_NAME_SUPPORT" type="BITMAP8" min="0x00" max="0x80" writable="false" optional="false">name support</attribute>
331     <!-- NAME_SUPPORT -->
332     <command source="client" code="0x00" name="AddGroup" optional="false" cli="zcl groups add">
333       <description>
334         Command description for AddGroup
335       </description>
336       <arg name="groupId" type="INT16U"/>
337       <arg name="groupName" type="CHAR_STRING"/>
338       <arg name="addrAssignmentMode" type="INT8U"/>
339       <arg name="groupMcastAddress" type="OCTET_STRING"/>
340       <arg name="groupUdpPort" type="INT16U"/>
341     </command>
342     <command source="client" code="0x01" name="ViewGroup" optional="false" cli="zcl groups view">
343       <description>
344         Command description for ViewGroup
345       </description>
346       <arg name="groupId" type="INT16U"/>
347     </command>
348     <command source="client" code="0x02" name="GetGroupMembership" cliFunctionName="zclGroupsGetCommand" optional="false" cli="zcl groups get">
349       <description>
350         Command description for GetGroupMembership
351       </description>
352       <arg name="groupCount" type="INT8U" arrayLength="true"/>
353       <arg name="groupList" type="INT16U" array="true"/>
354     </command>
355     <command source="client" code="0x03" name="RemoveGroup" optional="false" cli="zcl groups remove">
356       <description>
357         Command description for RemoveGroup
358       </description>
359       <arg name="groupId" type="INT16U"/>
360     </command>
361     <command source="client" code="0x04" name="RemoveAllGroups" optional="false" cli="zcl groups rmall">
362       <description>
363         Command description for RemoveAllGroups
364       </description>
365     </command>
366     <command source="client" code="0x05" name="AddGroupIfIdentifying" optional="false" cli="zcl groups add-if-id">
367       <description>
368         Command description for AddGroupIfIdentifying
369       </description>
370       <arg name="groupId" type="INT16U"/>
371       <arg name="groupName" type="CHAR_STRING"/>
372       <arg name="addrAssignmentMode" type="INT8U"/>
373       <arg name="groupMcastAddress" type="OCTET_STRING"/>
374       <arg name="groupUdpPort" type="INT16U"/>
375     </command>
376     <command source="server" code="0x00" name="AddGroupResponse" optional="false" disableDefaultResponse="true">
377       <description>
378         Command description for AddGroupResponse
379       </description>
380       <arg name="status" type="Status"/>
381       <arg name="groupId" type="INT16U"/>
382     </command>
383     <command source="server" code="0x01" name="ViewGroupResponse" optional="false" disableDefaultResponse="true">
384       <description>
385         Command description for ViewGroupResponse
386       </description>
387       <arg name="status" type="Status"/>
388       <arg name="groupId" type="INT16U"/>
389       <arg name="groupName" type="CHAR_STRING"/>
390       <arg name="addrAssignmentMode" type="INT8U"/>
391       <arg name="groupMcastAddress" type="OCTET_STRING"/>
392       <arg name="groupUdpPort" type="INT16U"/>
393     </command>
394     <command source="server" code="0x02" name="GetGroupMembershipResponse" optional="false" disableDefaultResponse="true">
395       <description>
396         Command description for GetGroupMembershipResponse
397       </description>
398       <arg name="capacity" type="INT8U"/>
399       <arg name="groupCount" type="INT8U" arrayLength="true"/>
400       <arg name="groupList" type="INT16U" array="true"/>
401     </command>
402     <command source="server" code="0x03" name="RemoveGroupResponse" optional="false" disableDefaultResponse="true">
403       <description>
404         Command description for RemoveGroupResponse
405       </description>
406       <arg name="status" type="Status"/>
407       <arg name="groupId" type="INT16U"/>
408     </command>
409   </cluster>
410   <cluster>
411     <name>Scenes</name>
412     <domain>General</domain>
413     <description>Attributes and commands for scene configuration and manipulation.</description>
414     <code>0x0005</code>
415     <define>SCENES_CLUSTER</define>
416     <client tick="false" init="false">true</client>
417     <server tick="false" init="false">true</server>
418     <attribute side="server" code="0x0000" define="SCENE_COUNT" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="false">scene count</attribute>
419     <attribute side="server" code="0x0001" define="CURRENT_SCENE" type="INT8U" min="0x00" max="0xFF" writable="false" default="0x00" optional="false">current scene</attribute>
420     <attribute side="server" code="0x0002" define="CURRENT_GROUP" type="INT16U" min="0x0000" max="0xFFF7" writable="false" default="0x0000" optional="false">current group</attribute>
421     <attribute side="server" code="0x0003" define="SCENE_VALID" type="BOOLEAN" min="0x00" max="0x01" writable="false" default="0x00" optional="false">scene valid</attribute>
422     <attribute side="server" code="0x0004" define="SCENE_NAME_SUPPORT" type="BITMAP8" min="0x00" max="0x80" writable="false" optional="false">name support</attribute>
423     <!-- NAME_SUPPORT -->
424     <attribute side="server" code="0x0005" define="LAST_CONFIGURED_BY" type="IEEE_ADDRESS" writable="false" optional="true">last configured by</attribute>
425     <command source="client" code="0x00" name="AddScene" optional="false" cli="zcl scenes add">
426       <description>
427         Add a scene to the scene table. Extension field sets are supported, and are inputed as arrays of the form [[cluster ID] [length] [value0...n] ...]
428       </description>
429       <arg name="groupId" type="INT16U"/>
430       <arg name="sceneId" type="INT8U"/>
431       <arg name="transitionTime" type="INT16U"/>
432       <arg name="sceneName" type="CHAR_STRING"/>
433       <arg name="extensionFieldSets" type="SceneExtensionFieldSet" array="true"/>
434     </command>
435     <command source="client" code="0x01" name="ViewScene" optional="false" cli="zcl scenes view">
436       <description>
437         Command description for ViewScene
438       </description>
439       <arg name="groupId" type="INT16U"/>
440       <arg name="sceneId" type="INT8U"/>
441     </command>
442     <command source="client" code="0x02" name="RemoveScene" optional="false" cli="zcl scenes remove">
443       <description>
444         Command description for RemoveScene
445       </description>
446       <arg name="groupId" type="INT16U"/>
447       <arg name="sceneId" type="INT8U"/>
448     </command>
449     <command source="client" code="0x03" name="RemoveAllScenes" optional="false" cli="zcl scenes rmall">
450       <description>
451         Command description for RemoveAllScenes
452       </description>
453       <arg name="groupId" type="INT16U"/>
454     </command>
455     <command source="client" code="0x04" name="StoreScene" optional="false" cli="zcl scenes store">
456       <description>
457         Command description for StoreScene
458       </description>
459       <arg name="groupId" type="INT16U"/>
460       <arg name="sceneId" type="INT8U"/>
461     </command>
462     <command source="client" code="0x05" name="RecallScene" optional="false" cli="zcl scenes recall">
463       <description>
464         Command description for RecallScene
465       </description>
466       <arg name="groupId" type="INT16U"/>
467       <arg name="sceneId" type="INT8U"/>
468       <arg name="transitionTime" type="INT16U" introducedIn="zcl-7.0-07-5123-07"/>
469     </command>
470     <command source="client" code="0x06" name="GetSceneMembership" optional="false" cli="zcl scenes get">
471       <description>
472         Command description for GetSceneMembership
473       </description>
474       <arg name="groupId" type="INT16U"/>
475     </command>
476     <command source="server" code="0x00" name="AddSceneResponse" optional="false" disableDefaultResponse="true">
477       <description>
478         Command description for AddSceneResponse
479       </description>
480       <arg name="status" type="Status"/>
481       <arg name="groupId" type="INT16U"/>
482       <arg name="sceneId" type="INT8U"/>
483     </command>
484     <command source="server" code="0x01" name="ViewSceneResponse" optional="false" disableDefaultResponse="true">
485       <description>
486         Command description for ViewSceneResponse
487       </description>
488       <arg name="status" type="Status"/>
489       <arg name="groupId" type="INT16U"/>
490       <arg name="sceneId" type="INT8U"/>
491       <arg name="transitionTime" type="INT16U" presentIf="status==0"/>
492       <arg name="sceneName" type="CHAR_STRING" presentIf="status==0"/>
493       <arg name="extensionFieldSets" type="SceneExtensionFieldSet" array="true" presentIf="status==0"/>
494     </command>
495     <command source="server" code="0x02" name="RemoveSceneResponse" optional="false" disableDefaultResponse="true">
496       <description>
497         Command description for RemoveSceneResponse
498       </description>
499       <arg name="status" type="Status"/>
500       <arg name="groupId" type="INT16U"/>
501       <arg name="sceneId" type="INT8U"/>
502     </command>
503     <command source="server" code="0x03" name="RemoveAllScenesResponse" optional="false" disableDefaultResponse="true">
504       <description>
505         Command description for RemoveAllScenesResponse
506       </description>
507       <arg name="status" type="Status"/>
508       <arg name="groupId" type="INT16U"/>
509     </command>
510     <command source="server" code="0x04" name="StoreSceneResponse" optional="false" disableDefaultResponse="true">
511       <description>
512         Command description for StoreSceneResponse
513       </description>
514       <arg name="status" type="Status"/>
515       <arg name="groupId" type="INT16U"/>
516       <arg name="sceneId" type="INT8U"/>
517     </command>
518     <command source="server" code="0x06" name="GetSceneMembershipResponse" optional="false" disableDefaultResponse="true">
519       <description>
520         Command description for GetSceneMembershipResponse
521       </description>
522       <arg name="status" type="Status"/>
523       <arg name="capacity" type="INT8U"/>
524       <arg name="groupId" type="INT16U"/>
525       <arg name="sceneCount" type="INT8U" arrayLength="true" presentIf="status==0"/>
526       <arg name="sceneList" type="INT8U" array="true" presentIf="status==0"/>
527     </command>
528   </cluster>
529   <cluster>
530     <name>On/off</name>
531     <domain>General</domain>
532     <description>Attributes and commands for switching devices between 'On' and 'Off' states.</description>
533     <code>0x0006</code>
534     <define>ON_OFF_CLUSTER</define>
535     <client tick="false" init="false">true</client>
536     <server tick="false" init="false">true</server>
537     <attribute side="server" code="0x0000" define="ON_OFF" type="BOOLEAN" min="0x00" max="0x01" writable="false" reportable="true" default="0x00" optional="false">on/off</attribute>
538     <attribute side="server" code="0x4003" define="START_UP_ON_OFF" type="ENUM8" min="0x00" max="0xFF" writable="true" optional="true" introducedIn="l&amp;o-1.0-15-0014-04">start up on off</attribute>
539     <command source="client" code="0x00" name="Off" optional="false" cli="zcl on-off off">
540       <description>
541         Command description for Off
542       </description>
543     </command>
544     <command source="client" code="0x01" name="On" optional="false" cli="zcl on-off on">
545       <description>
546         Command description for On
547       </description>
548     </command>
549     <command source="client" code="0x02" name="Toggle" optional="false" cli="zcl on-off toggle">
550       <description>
551         Command description for Toggle
552       </description>
553     </command>
554   </cluster>
555   <cluster>
556     <name>On/off Switch Configuration</name>
557     <domain>General</domain>
558     <description>Attributes and commands for configuring On/Off switching devices.</description>
559     <code>0x0007</code>
560     <define>ON_OFF_SWITCH_CONFIG_CLUSTER</define>
561     <client tick="false" init="false">true</client>
562     <server tick="false" init="false">true</server>
563     <attribute side="server" code="0x0000" define="SWITCH_TYPE" type="ENUM8" min="0x00" max="0x01" writable="false" optional="false">switch type</attribute>
564     <attribute side="server" code="0x0010" define="SWITCH_ACTIONS" type="ENUM8" min="0x00" max="0x02" writable="true" default="0x00" optional="false">switch actions</attribute>
565   </cluster>
566   <cluster>
567     <name>Level Control</name>
568     <domain>General</domain>
569     <description>Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.'</description>
570     <code>0x0008</code>
571     <define>LEVEL_CONTROL_CLUSTER</define>
572     <client tick="false" init="false">true</client>
573     <server tick="false" init="false">true</server>
574     <attribute side="server" code="0x0000" define="CURRENT_LEVEL" type="INT8U" min="0x00" max="0xFF" writable="false" reportable="true" default="0x00" optional="false">current level</attribute>
575     <attribute side="server" code="0x0001" define="LEVEL_CONTROL_REMAINING_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="false" default="0x0000" optional="true">remaining time</attribute>
576     <!-- REMAINING_TIME -->
577     <attribute side="server" code="0x0010" define="ON_OFF_TRANSITION_TIME" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0x0000" optional="true">on off transition time</attribute>
578     <attribute side="server" code="0x0011" define="ON_LEVEL" type="INT8U" min="0x00" max="0xFF" writable="true" default="0xFE" optional="true">on level</attribute>
579     <attribute side="server" code="0x0012" define="ON_TRANSITION_TIME" type="INT16U" min="0x0000" max="0xFFFE" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">on transition time</attribute>
580     <attribute side="server" code="0x0013" define="OFF_TRANSITION_TIME" type="INT16U" min="0x0000" max="0xFFFE" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">off transition time</attribute>
581     <attribute side="server" code="0x0014" define="DEFAULT_MOVE_RATE" type="INT8U" min="0x00" max="0xFE" writable="true" optional="true" introducedIn="ha-1.2-05-3520-29">default move rate</attribute>
582     <attribute side="server" code="0x000F" define="OPTIONS" type="BITMAP8" min="0x00" max="0x03" writable="true" default="0x00" optional="true" introducedIn="l&amp;o-1.0-15-0014-04">options</attribute>
583     <attribute side="server" code="0x4000" define="START_UP_CURRENT_LEVEL" type="INT8U" min="0x01" max="0xFF" writable="true" optional="true" introducedIn="l&amp;o-1.0-15-0014-04">start up current level</attribute>
584     <command source="client" code="0x00" name="MoveToLevel" optional="false" cli="zcl level-control mv-to-level">
585       <description>
586         Command description for MoveToLevel
587       </description>
588       <arg name="level" type="INT8U"/>
589       <arg name="transitionTime" type="INT16U"/>
590     </command>
591     <command source="client" code="0x01" name="Move" optional="false" cli="zcl level-control move">
592       <description>
593         Command description for Move
594       </description>
595       <arg name="moveMode" type="MoveMode"/>
596       <arg name="rate" type="INT8U"/>
597     </command>
598     <command source="client" code="0x02" name="Step" optional="false" cli="zcl level-control step">
599       <description>
600         Command description for Step
601       </description>
602       <arg name="stepMode" type="StepMode"/>
603       <arg name="stepSize" type="INT8U"/>
604       <arg name="transitionTime" type="INT16U"/>
605     </command>
606     <command source="client" code="0x03" name="Stop" optional="false" cli="zcl level-control stop">
607       <description>
608         Command description for Stop
609       </description>
610     </command>
611     <command source="client" code="0x04" name="MoveToLevelWithOnOff" optional="false" cli="zcl level-control o-mv-to-level">
612       <description>
613         Command description for MoveToLevelWithOnOff
614       </description>
615       <arg name="level" type="INT8U"/>
616       <arg name="transitionTime" type="INT16U"/>
617     </command>
618     <command source="client" code="0x05" name="MoveWithOnOff" optional="false" cli="zcl level-control o-move">
619       <description>
620         Command description for MoveWithOnOff
621       </description>
622       <arg name="moveMode" type="MoveMode"/>
623       <arg name="rate" type="INT8U"/>
624     </command>
625     <command source="client" code="0x06" name="StepWithOnOff" optional="false" cli="zcl level-control o-step">
626       <description>
627         Command description for StepWithOnOff
628       </description>
629       <arg name="stepMode" type="StepMode"/>
630       <arg name="stepSize" type="INT8U"/>
631       <arg name="transitionTime" type="INT16U"/>
632     </command>
633     <command source="client" code="0x07" name="StopWithOnOff" optional="false" cli="zcl level-control o-stop">
634       <description>
635         Command description for StopWithOnOff
636       </description>
637     </command>
638   </cluster>
639   <cluster>
640     <name>Alarms</name>
641     <domain>General</domain>
642     <description>Attributes and commands for sending notifications and configuring alarm functionality.</description>
643     <code>0x0009</code>
644     <define>ALARM_CLUSTER</define>
645     <client tick="false" init="false">true</client>
646     <server tick="false" init="false">true</server>
647     <attribute side="server" code="0x0000" define="ALARM_COUNT" type="INT16U" min="0x00" writable="false" default="0x00" optional="true">alarm count</attribute>
648     <command source="client" code="0x00" name="ResetAlarm" optional="false">
649       <description>
650         Command description for ResetAlarm
651       </description>
652       <arg name="alarmCode" type="ENUM8"/>
653       <arg name="clusterId" type="CLUSTER_ID"/>
654     </command>
655     <command source="client" code="0x01" name="ResetAllAlarms" optional="false">
656       <description>
657         Command description for ResetAllAlarms
658       </description>
659     </command>
660     <command source="client" code="0x02" name="GetAlarm" optional="true">
661       <description>
662         Command description for GetAlarm
663       </description>
664     </command>
665     <command source="client" code="0x03" name="ResetAlarmLog" optional="true">
666       <description>
667         Command description for ResetAlarmLog
668       </description>
669     </command>
670     <command source="server" code="0x00" name="Alarm" optional="false">
671       <description>
672         Command description for Alarm
673       </description>
674       <arg name="alarmCode" type="ENUM8"/>
675       <arg name="clusterId" type="CLUSTER_ID"/>
676     </command>
677     <command source="server" code="0x01" name="GetAlarmResponse" optional="true" disableDefaultResponse="true">
678       <description>
679         Command description for GetAlarmResponse
680       </description>
681       <arg name="status" type="Status"/>
682       <arg name="alarmCode" type="ENUM8"/>
683       <arg name="clusterId" type="CLUSTER_ID"/>
684       <arg name="timeStamp" type="INT32U"/>
685     </command>
686   </cluster>
687   <cluster singleton="true">
688     <name>Time</name>
689     <domain>General</domain>
690     <description>Attributes and commands that provide a basic interface to a real-time clock.</description>
691     <code>0x000A</code>
692     <define>TIME_CLUSTER</define>
693     <client tick="false" init="false">true</client>
694     <server tick="false" init="false">true</server>
695     <attribute side="server" code="0x0000" define="TIME" type="UTC_TIME" min="0x00000000" max="0xFFFFFFFE" writable="true" optional="false">time</attribute>
696     <attribute side="server" code="0x0001" define="TIME_STATUS" type="BITMAP8" min="0x00" max="0x0F" writable="true" default="0x00" optional="false">time status</attribute>
697     <attribute side="server" code="0x0002" define="TIME_ZONE" type="INT32S" min="0xFFFEAE80" max="0x00015180" writable="true" default="0x00000000" optional="true">time zone</attribute>
698     <attribute side="server" code="0x0003" define="DST_START" type="INT32U" min="0x00000000" max="0xFFFFFFFE" writable="true" optional="true">dst start</attribute>
699     <attribute side="server" code="0x0004" define="DST_END" type="INT32U" min="0x00000000" max="0xFFFFFFFE" writable="true" optional="true">dst end</attribute>
700     <attribute side="server" code="0x0005" define="DST_SHIFT" type="INT32S" min="0xFFFEAE80" max="0x00015180" writable="true" default="0x00000000" optional="true">dst shift</attribute>
701     <attribute side="server" code="0x0006" define="STANDARD_TIME" type="INT32U" min="0x00000000" max="0xFFFFFFFE" writable="false" optional="true">standard time</attribute>
702     <attribute side="server" code="0x0007" define="LOCAL_TIME" type="INT32U" min="0x00000000" max="0xFFFFFFFE" writable="false" optional="true">local time</attribute>
703     <attribute side="server" code="0x0008" define="LAST_SET_TIME" type="UTC_TIME" min="0x00000000" max="0xFFFFFFFE" writable="false" default="0xFFFFFFFF" optional="true">last set time</attribute>
704     <attribute side="server" code="0x0009" define="VALID_UNTIL_TIME" type="UTC_TIME" min="0x00000000" max="0xFFFFFFFE" writable="true" default="0xFFFFFFFF" optional="true">valid until time</attribute>
705   </cluster>
706   <cluster>
707     <name>RSSI Location</name>
708     <domain>General</domain>
709     <description>Attributes and commands that provide a means for exchanging location information and channel parameters among devices.</description>
710     <code>0x000B</code>
711     <define>RSSI_LOCATION_CLUSTER</define>
712     <client tick="false" init="false">true</client>
713     <server tick="false" init="false">true</server>
714     <attribute side="server" code="0x0000" define="LOCATION_TYPE" type="DATA8" min="0x00" max="0x0F" writable="false" optional="false">location type</attribute>
715     <attribute side="server" code="0x0001" define="LOCATION_METHOD" type="ENUM8" min="0x00" max="0xFF" writable="false" optional="false">location method</attribute>
716     <attribute side="server" code="0x0002" define="LOCATION_AGE" type="INT16U" min="0x0000" max="0xFFFF" writable="false" optional="true">location age</attribute>
717     <attribute side="server" code="0x0003" define="QUALITY_MEASURE" type="INT8U" min="0x00" max="0x64" writable="false" optional="true">quality measure</attribute>
718     <attribute side="server" code="0x0004" define="NUMBER_OF_DEVICES" type="INT8U" min="0x00" max="0xFF" writable="false" optional="true">number of devices</attribute>
719     <attribute side="server" code="0x0010" define="COORDINATE1" type="INT16S" min="0x8000" max="0x7FFF" writable="true" optional="false">coordinate 1</attribute>
720     <attribute side="server" code="0x0011" define="COORDINATE2" type="INT16S" min="0x8000" max="0x7FFF" writable="true" optional="false">coordinate 2</attribute>
721     <attribute side="server" code="0x0012" define="COORDINATE3" type="INT16S" min="0x8000" max="0x7FFF" writable="true" optional="true">coordinate 3</attribute>
722     <attribute side="server" code="0x0013" define="POWER" type="INT16S" min="0x8000" max="0x7FFF" writable="true" optional="false">power</attribute>
723     <attribute side="server" code="0x0014" define="PATH_LOSS_EXPONENT" type="INT16U" min="0x0000" max="0xFFFF" writable="true" optional="false">path loss exponent</attribute>
724     <attribute side="server" code="0x0015" define="REPORTING_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" optional="true">reporting period</attribute>
725     <attribute side="server" code="0x0016" define="CALCULATION_PERIOD" type="INT16U" min="0x0000" max="0xFFFF" writable="true" optional="true">calculation period</attribute>
726     <attribute side="server" code="0x0017" define="NUMBER_RSSI_MEASUREMENTS" type="INT8U" min="0x01" max="0xFF" writable="true" optional="false">number rssi measurements</attribute>
727     <command source="client" code="0x00" name="SetAbsoluteLocation" optional="false">
728       <description>
729         Command description for SetAbsoluteLocation
730       </description>
731       <arg name="coordinate1" type="INT16S"/>
732       <arg name="coordinate2" type="INT16S"/>
733       <arg name="coordinate3" type="INT16S"/>
734       <arg name="power" type="INT16S"/>
735       <arg name="pathLossExponent" type="INT16U"/>
736     </command>
737     <command source="client" code="0x01" name="SetDeviceConfiguration" optional="false">
738       <description>
739         Command description for SetDeviceConfiguration
740       </description>
741       <arg name="power" type="INT16S"/>
742       <arg name="pathLossExponent" type="INT16U"/>
743       <arg name="calculationPeriod" type="INT16U"/>
744       <arg name="numberRssiMeasurements" type="INT8U"/>
745       <arg name="reportingPeriod" type="INT16U"/>
746     </command>
747     <command source="client" code="0x02" name="GetDeviceConfiguration" optional="false">
748       <description>
749         Command description for GetDeviceConfiguration
750       </description>
751       <arg name="targetAddress" type="IEEE_ADDRESS"/>
752     </command>
753     <command source="client" code="0x03" name="GetLocationData" optional="false">
754       <description>
755         Command description for GetLocationData
756       </description>
757       <arg name="flags" type="GetLocationDataFlags"/>
758       <arg name="numberResponses" type="INT8U"/>
759       <arg name="targetAddress" type="IEEE_ADDRESS"/>
760     </command>
761     <command source="client" code="0x04" name="RssiResponse" optional="true" disableDefaultResponse="true">
762       <description>
763         Command description for RssiResponse
764       </description>
765       <arg name="replyingDevice" type="IEEE_ADDRESS"/>
766       <arg name="coordinate1" type="INT16S"/>
767       <arg name="coordinate2" type="INT16S"/>
768       <arg name="coordinate3" type="INT16S"/>
769       <arg name="rssi" type="INT8S"/>
770       <arg name="numberRssiMeasurements" type="INT8U"/>
771     </command>
772     <command source="client" code="0x05" name="SendPings" optional="true">
773       <description>
774         Command description for SendPings
775       </description>
776       <arg name="targetAddress" type="IEEE_ADDRESS"/>
777       <arg name="numberRssiMeasurements" type="INT8U"/>
778       <arg name="calculationPeriod" type="INT16U"/>
779     </command>
780     <command source="client" code="0x06" name="AnchorNodeAnnounce" optional="true">
781       <description>
782         Command description for AnchorNodeAnnounce
783       </description>
784       <arg name="anchorNodeIeeeAddress" type="IEEE_ADDRESS"/>
785       <arg name="coordinate1" type="INT16S"/>
786       <arg name="coordinate2" type="INT16S"/>
787       <arg name="coordinate3" type="INT16S"/>
788     </command>
789     <command source="server" code="0x00" name="DeviceConfigurationResponse" optional="false" disableDefaultResponse="true">
790       <description>
791         Command description for DeviceConfigurationResponse
792       </description>
793       <arg name="status" type="Status"/>
794       <arg name="power" type="INT16S"/>
795       <arg name="pathLossExponent" type="INT16U"/>
796       <arg name="calculationPeriod" type="INT16U"/>
797       <arg name="numberRssiMeasurements" type="INT8U"/>
798       <arg name="reportingPeriod" type="INT16U"/>
799     </command>
800     <command source="server" code="0x01" name="LocationDataResponse" optional="false" disableDefaultResponse="true">
801       <description>
802         Command description for LocationDataResponse
803       </description>
804       <arg name="status" type="Status"/>
805       <arg name="locationType" type="LocationType"/>
806       <arg name="coordinate1" type="INT16S"/>
807       <arg name="coordinate2" type="INT16S"/>
808       <arg name="coordinate3" type="INT16S"/>
809       <arg name="power" type="INT16S"/>
810       <arg name="pathLossExponent" type="INT16U"/>
811       <arg name="locationMethod" type="LocationMethod"/>
812       <arg name="qualityMeasure" type="INT8U"/>
813       <arg name="locationAge" type="INT16U"/>
814     </command>
815     <command source="server" code="0x02" name="LocationDataNotification" optional="false">
816       <description>
817         Command description for LocationDataNotification
818       </description>
819       <arg name="locationType" type="LocationType"/>
820       <arg name="coordinate1" type="INT16S"/>
821       <arg name="coordinate2" type="INT16S"/>
822       <arg name="coordinate3" type="INT16S"/>
823       <arg name="power" type="INT16S"/>
824       <arg name="pathLossExponent" type="INT16U"/>
825       <arg name="locationMethod" type="LocationMethod"/>
826       <arg name="qualityMeasure" type="INT8U"/>
827       <arg name="locationAge" type="INT16U"/>
828     </command>
829     <command source="server" code="0x03" name="CompactLocationDataNotification" optional="false">
830       <description>
831         Command description for CompactLocationDataNotification
832       </description>
833       <arg name="locationType" type="LocationType"/>
834       <arg name="coordinate1" type="INT16S"/>
835       <arg name="coordinate2" type="INT16S"/>
836       <arg name="coordinate3" type="INT16S"/>
837       <arg name="qualityMeasure" type="INT8U"/>
838       <arg name="locationAge" type="INT16U"/>
839     </command>
840     <command source="server" code="0x04" name="RssiPing" optional="false">
841       <description>
842         Command description for RssiPing
843       </description>
844       <arg name="locationType" type="LocationType"/>
845     </command>
846     <command source="server" code="0x05" name="RssiRequest" optional="true">
847       <description>
848         Command description for RssiRequest
849       </description>
850     </command>
851     <command source="server" code="0x06" name="ReportRssiMeasurements" optional="true">
852       <description>
853         Command description for ReportRssiMeasurements
854       </description>
855       <arg name="measuringDevice" type="IEEE_ADDRESS"/>
856       <arg name="neighbors" type="INT8U"/>
857       <arg name="neighborsInfo" type="NeighborInfo" array="true"/>
858     </command>
859     <command source="server" code="0x07" name="RequestOwnLocation" optional="true">
860       <description>
861         Command description for RequestOwnLocation
862       </description>
863       <arg name="blindNode" type="IEEE_ADDRESS"/>
864     </command>
865   </cluster>
866   <cluster>
867     <name>Binary Input (Basic)</name>
868     <domain>General</domain>
869     <description>An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. </description>
870     <code>0x000F</code>
871     <define>BINARY_INPUT_BASIC_CLUSTER</define>
872     <client tick="false" init="false">true</client>
873     <server tick="false" init="false">true</server>
874     <attribute side="server" code="0x0004" define="ACTIVE_TEXT" type="CHAR_STRING" length="16" writable="true" default="" optional="true">active text</attribute>
875     <attribute side="server" code="0x001C" define="DESCRIPTION" type="CHAR_STRING" length="16" writable="true" default="" optional="true">description</attribute>
876     <attribute side="server" code="0x002E" define="INACTIVE_TEXT" type="CHAR_STRING" length="16" writable="true" default="" optional="true">inactive text</attribute>
877     <attribute side="server" code="0x0051" define="OUT_OF_SERVICE" type="BOOLEAN" min="0x00" max="0x01" writable="true" default="0x00" optional="false">out of service</attribute>
878     <attribute side="server" code="0x0054" define="POLARITY" type="ENUM8" writable="false" default="0x00" optional="true">polarity</attribute>
879     <attribute side="server" code="0x0055" define="PRESENT_VALUE" type="BOOLEAN" writable="true" reportable="true" optional="false">present value</attribute>
880     <attribute side="server" code="0x0067" define="RELIABILITY" type="ENUM8" writable="true" default="0x00" optional="true">reliability</attribute>
881     <attribute side="server" code="0x006F" define="STATUS_FLAGS" type="BITMAP8" min="0x00" max="0x0F" writable="false" default="0x00" reportable="true" optional="false">status flags</attribute>
882     <attribute side="server" code="0x0100" define="APPLICATION_TYPE" type="INT32U" min="0x00000000" max="0xFFFFFFFF" writable="false" optional="true">application type</attribute>
883   </cluster>
884   <cluster>
885     <name>Commissioning</name>
886     <domain>General</domain>
887     <description>Attributes and commands for commissioning and managing a ZigBee device.</description>
888     <code>0x0015</code>
889     <define>COMMISSIONING_CLUSTER</define>
890     <client tick="false" init="false">true</client>
891     <server tick="false" init="false">true</server>
892     <attribute side="server" code="0x0000" define="SHORT_ADDRESS" type="INT16U" min="0x0000" max="0xFFF7" writable="true" default="0xFFFF" optional="false">short address</attribute>
893     <attribute side="server" code="0x0001" define="EXTENDED_PAN_ID" type="IEEE_ADDRESS" min="0x0000000000000000" max="0xFFFFFFFFFFFFFFFE" writable="true" default="0xFFFFFFFFFFFFFFFF" optional="false">extended pan id</attribute>
894     <attribute side="server" code="0x0002" define="PAN_ID" type="INT16U" min="0x0000" max="0xFFFF" writable="true" default="0xFFFF" optional="false">pan id</attribute>
895     <attribute side="server" code="0x0003" define="CHANNEL_MASK" type="BITMAP32" writable="true" default="0x07FFF800" optional="false">channel mask</attribute>
896     <attribute side="server" code="0x0004" define="PROTOCOL_VERSION" type="INT8U" min="0x02" max="0x02" writable="true" default="0x02" optional="false">protocol version</attribute>
897     <attribute side="server" code="0x0005" define="STACK_PROFILE" type="INT8U" min="0x01" max="0x02" writable="true" default="0x02" optional="false">stack profile</attribute>
898     <attribute side="server" code="0x0006" define="STARTUP_CONTROL" type="ENUM8" min="0x00" max="0x03" writable="true" default="0x03" optional="false">startup control</attribute>
899     <attribute side="server" code="0x0010" define="TRUST_CENTER_ADDRESS" type="IEEE_ADDRESS" writable="true" default="0x0000000000000000" optional="false">trust center address</attribute>
900     <attribute side="server" code="0x0011" define="TRUST_CENTER_MASTER_KEY" type="SECURITY_KEY" writable="true" default="0x00000000000000000000000000000000" optional="true">trust center master key</attribute>
901     <attribute side="server" code="0x0012" define="NETWORK_KEY" type="SECURITY_KEY" writable="true" default="0x00000000000000000000000000000000" optional="false">network key</attribute>
902     <attribute side="server" code="0x0013" define="USE_INSECURE_JOIN" type="BOOLEAN" min="0x00" max="0x01" writable="true" default="0x01" optional="false">use insecure join</attribute>
903     <attribute side="server" code="0x0014" define="PRECONFIGURED_LINK_KEY" type="SECURITY_KEY" writable="true" default="0x00000000000000000000000000000000" optional="false">preconfigured link key</attribute>
904     <attribute side="server" code="0x0015" define="NETWORK_KEY_SEQUENCE_NUMBER" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="false">network key sequence number</attribute>
905     <attribute side="server" code="0x0016" define="NETWORK_KEY_TYPE" type="ENUM8" writable="true" default="0x05" optional="false">network key type</attribute>
906     <attribute side="server" code="0x0017" define="NETWORK_MANAGER_ADDRESS" type="INT16U" writable="true" default="0x0000" optional="false">network manager address</attribute>
907     <attribute side="server" code="0x0020" define="SCAN_ATTEMPTS" type="INT8U" min="0x01" max="0xFF" writable="true" default="0x05" optional="false">scan attempts</attribute>
908     <attribute side="server" code="0x0021" define="TIME_BETWEEN_SCANS" type="INT16U" min="0x0001" max="0xFFFF" writable="true" default="0x0064" optional="false">time between scans</attribute>
909     <attribute side="server" code="0x0022" define="REJOIN_INTERVAL" type="INT16U" min="0x0001" max="0xFFFF" writable="true" default="0x003C" optional="false">rejoin interval</attribute>
910     <attribute side="server" code="0x0023" define="MAX_REJOIN_INTERVAL" type="INT16U" min="0x0001" max="0xFFFF" writable="true" default="0x0E10" optional="false">max rejoin interval</attribute>
911     <attribute side="server" code="0x0030" define="INDIRECT_POLL_RATE" type="INT16U" min="0x0000" max="0xFFFF" writable="true" optional="false">indirect poll rate</attribute>
912     <attribute side="server" code="0x0031" define="PARENT_RETRY_THRESHOLD" type="INT8U" min="0x00" max="0xFF" writable="true" optional="false">parent retry threshold</attribute>
913     <attribute side="server" code="0x0040" define="CONCENTRATOR_FLAG" type="BOOLEAN" min="0x00" max="0x01" writable="true" default="0x00" optional="false">concentrator flag</attribute>
914     <attribute side="server" code="0x0041" define="CONCENTRATOR_RADIUS" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x0F" optional="false">concentrator radius</attribute>
915     <attribute side="server" code="0x0042" define="CONCENTRATOR_DISCOVERY_TIME" type="INT8U" min="0x00" max="0xFF" writable="true" default="0x00" optional="false">concentrator discovery time</attribute>
916     <command source="client" code="0x00" name="RestartDevice" optional="false">
917       <description>
918         Command description for RestartDevice
919       </description>
920       <arg name="options" type="RestartOptions"/>
921       <arg name="delay" type="INT8U"/>
922       <arg name="jitter" type="INT8U"/>
923     </command>
924     <command source="client" code="0x01" name="SaveStartupParameters" optional="true">
925       <description>
926         Command description for SaveStartupParameters
927       </description>
928       <arg name="options" type="BITMAP8"/>
929       <arg name="index" type="INT8U"/>
930     </command>
931     <command source="client" code="0x02" name="RestoreStartupParameters" optional="true">
932       <description>
933         Command description for RestoreStartupParameters
934       </description>
935       <arg name="options" type="BITMAP8"/>
936       <arg name="index" type="INT8U"/>
937     </command>
938     <command source="client" code="0x03" name="ResetStartupParameters" optional="false">
939       <description>
940         Command description for ResetStartupParameters
941       </description>
942       <arg name="options" type="ResetOptions"/>
943       <arg name="index" type="INT8U"/>
944     </command>
945     <command source="server" code="0x00" name="RestartDeviceResponse" optional="false" disableDefaultResponse="true">
946       <description>
947         Command description for RestartDeviceResponse
948       </description>
949       <arg name="status" type="ENUM8"/>
950     </command>
951     <command source="server" code="0x01" name="SaveStartupParametersResponse" optional="false" disableDefaultResponse="true">
952       <description>
953         Command description for SaveStartupParametersResponse
954       </description>
955       <arg name="status" type="ENUM8"/>
956     </command>
957     <command source="server" code="0x02" name="RestoreStartupParametersResponse" optional="false" disableDefaultResponse="true">
958       <description>
959         Command description for RestoreStartupParametersResponse
960       </description>
961       <arg name="status" type="ENUM8"/>
962     </command>
963     <command source="server" code="0x03" name="ResetStartupParametersResponse" optional="false" disableDefaultResponse="true">
964       <description>
965         Command description for ResetStartupParametersResponse
966       </description>
967       <arg name="status" type="ENUM8"/>
968     </command>
969   </cluster>
970 </configurator>