| <?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> |