forked from csa-iot/data-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Alarms.xml
50 lines (50 loc) · 1.99 KB
/
Alarms.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
<?xml version="1.0"?>
<!--
Zigbee Alliance owns the copyright to the text and content displayed or
included in this document (including in PDF, XML files and other formats) in
all forms of media, which copyright is protected by the copyright laws of the
United States and by international treaties. Full text of licensing terms
applicable to this document can be found in the LICENSE.md file.
-->
<zcl:cluster xmlns:zcl="http://zigbee.org/zcl/clusters"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:type="http://zigbee.org/zcl/types"
xmlns:xi="http://www.w3.org/2001/XInclude"
xsi:schemaLocation="http://zigbee.org/zcl/clusters cluster.xsd http://zigbee.org/zcl/types type.xsd"
id="0009" revision="1" name="Alarms">
<classification role="application" picsCode="ALM" primaryTransaction="2" />
<server>
<attributes>
<attribute id="0000" name="AlarmCount" type="uint16" default="0" />
</attributes>
<commands>
<command id="00" name="ResetAlarm" required="true">
<fields>
<field name="AlarmCode" type="enum8" />
<field name="ClusterIdentifier" type="clusterId" />
</fields>
</command>
<command id="01" name="ResetAllAlarms" required="true" />
<command id="02" name="GetAlarm" />
<command id="03" name="ResetAlarmLog" />
</commands>
</server>
<client>
<commands>
<command id="00" name="Alarm" required="true">
<fields>
<field name="AlarmCode" type="enum8" />
<field name="ClusterIdentifier" type="clusterId" />
</fields>
</command>
<command id="01" name="GetAlarmResponse">
<fields>
<field name="Status" type="zclStatus" />
<field name="AlarmCode" type="enum8" presentIf="Status = 0" />
<field name="ClusterIdentifier" type="clusterId" presentIf="Status = 0" />
<field name="TimeStamp" type="uint32" presentIf="Status = 0" />
</fields>
</command>
</commands>
</client>
</zcl:cluster>