forked from csa-iot/data-model
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PressureMeasurement.xml
59 lines (59 loc) · 3.11 KB
/
PressureMeasurement.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
<?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="0403" revision="2" name="PressureMeasurement">
<classification role="application" picsCode="PRS" primaryTransaction="2" />
<server>
<attributes>
<attribute id="0000" name="MeasuredValue" type="int16" reportRequired="true" required="true" default="-32768" >
<restriction>
<type:minInclusiveRef ref="MinMeasuredValue" />
<type:maxInclusiveRef ref="MaxMeasuredValue" />
</restriction>
</attribute>
<attribute id="0001" name="MinMeasuredValue" type="int16" required="true" min="-32767" max="32766" default="-32768" >
<restriction>
<type:maxExclusiveRef ref="MaxMeasuredValue" />
</restriction>
</attribute>
<attribute id="0002" name="MaxMeasuredValue" type="int16" required="true" min="-32766" max="32767" default="-32768" >
<restriction>
<type:minExclusiveRef ref="MinMeasuredValue" />
</restriction>
</attribute>
<attribute id="0003" name="Tolerance" type="uint16" max="2048" />
<attribute id="0010" name="ScaledValue" type="int16" default="0"
requiredIf="implements(MinScaledValue) or implements(MaxScaledValue) or implements(Scale) or implements(ScaledTolerance)" >
<restriction>
<type:minInclusiveRef ref="MinScaledValue" />
<type:maxInclusiveRef ref="MaxScaledValue" />
</restriction>
</attribute>
<attribute id="0011" name="MinScaledValue" type="int16" min="-32767" max="32766" default="-32768"
requiredIf="implements(ScaledValue) or implements(MaxScaledValue) or implements(Scale) or implements(ScaledTolerance)" >
<restriction>
<type:maxExclusiveRef ref="MaxScaledValue" />
</restriction>
</attribute>
<attribute id="0012" name="MaxScaledValue" type="int16" min="-32766" max="32767" default="-32768"
requiredIf="implements(ScaledValue) or implements(MinScaledValue) or implements(Scale) or implements(ScaledTolerance)" >
<restriction>
<type:minExclusiveRef ref="MinScaledValue" />
</restriction>
</attribute>
<attribute id="0013" name="ScaledTolerance" type="uint16" max="2048" />
<attribute id="0014" name="Scale" type="int8" min="-127" max="127"
requiredIf="implements(ScaledValue) or implements(MinScaledValue) or implements(MaxScaledValue) or implements(ScaledTolerance)" />
</attributes>
</server>
</zcl:cluster>