-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pressurement cluster again #7996
Merged
bzbarsky-apple
merged 15 commits into
project-chip:master
from
Grundfos:pressure-measurement-cluster-2
Jul 9, 2021
Merged
Changes from 1 commit
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
a6150aa
pressurement cluster again
janusheide dbcd97a
moved xml file to proper folder
janusheide b5c00a9
Merge branch 'master' of github.com:project-chip/connectedhomeip into…
janusheide 9579b1b
adding dropped ranges (again)
janusheide 08d785b
added default values
janusheide 6ab7170
scaled tolerance unsigned
janusheide afd25e3
removed ranges not in spec
janusheide 456b70d
Merge branch 'project-chip:master' into pressure-measurement-cluster-2
janusheide 53a9cd6
Merge branch 'project-chip:master' into pressure-measurement-cluster-2
janusheide a9c222e
Merge branch 'project-chip:master' into pressure-measurement-cluster-2
janusheide ae983ad
trying to remove this, to see if we can pass the ci
janusheide 31facfb
Merge branch 'pressure-measurement-cluster-2' of github.com:grundfos/…
janusheide 5e66161
fix xml errors
janusheide ebc16b9
Update src/app/zap-templates/zcl/data-model/silabs/ha.xml
janusheide 6723654
Merge branch 'project-chip:master' into pressure-measurement-cluster-2
janusheide File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?xml version="1.0"?> | ||
<!-- | ||
Copyright (c) 2021 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. | ||
--> | ||
<configurator> | ||
<domain name="CHIP"/> | ||
<cluster> | ||
<name>Pressure Measurement</name> | ||
<domain>Measurement & Sensing</domain> | ||
<description>Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements.</description> | ||
<code>0x0403</code> | ||
<define>PRESSURE_MEASUREMENT_CLUSTER</define> | ||
<client tick="false" init="false">true</client> | ||
<server tick="false" init="false">true</server> | ||
<attribute side="server" code="0x0000" define="PRESSURE_MEASURED_VALUE" type="INT16S" writable="false" default="0x0000" optional="false">measured value</attribute> | ||
<attribute side="server" code="0x0001" define="PRESSURE_MIN_MEASURED_VALUE" type="INT16S" writable="false" optional="false">min measured value</attribute> | ||
<attribute side="server" code="0x0002" define="PRESSURE_MAX_MEASURED_VALUE" type="INT16S" writable="false" optional="false">max measured value</attribute> | ||
<attribute side="server" code="0x0003" define="PRESSURE_TOLERANCE" type="INT16U" writable="false" optional="true" default="0">tolerance</attribute> | ||
<attribute side="server" code="0x0010" define="PRESSURE_SCALED_VALUE" type="INT16S" writable="false" optional="true" default="0">scaled value</attribute> | ||
<attribute side="server" code="0x0011" define="PRESSURE_MIN_SCALED_VALUE" type="INT16S" writable="false" optional="true" default="0">min scaled value</attribute> | ||
<attribute side="server" code="0x0012" define="PRESSURE_MAX_SCALED_VALUE" type="INT16S" writable="false" optional="true" default="0">max scaled value</attribute> | ||
<attribute side="server" code="0x0013" define="PRESSURE_SCALED_TOLERANCE" type="INT16S" writable="false" optional="true" default="0">scaled tolerance</attribute> | ||
<attribute side="server" code="0x0014" define="PRESSURE_SCALE" type="INT8S" writable="false" optional="true" default="0">scale</attribute> | ||
woody-apple marked this conversation as resolved.
Show resolved
Hide resolved
|
||
</cluster> | ||
|
||
</configurator> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should presumably live in some directory where ZAP will find it, which will fix the "this is removing this cluster from everything" problem. Something like
src/app/zap-templates/zcl/data-model/chip
perhaps?