8000 Generate FlowMeasurement cluster with Alchemmy by tersal · Pull Request #38969 · project-chip/connectedhomeip · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Generate FlowMeasurement cluster with Alchemmy #38969

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6289,7 +6289,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6386,7 +6386,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4746,7 +4746,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1603,7 +1603,7 @@ cluster GroupKeyManagement = 63 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
2 changes: 1 addition & 1 deletion examples/chef/devices/rootnode_pump_5f904818cc.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -6503,7 +6503,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
2 changes: 1 addition & 1 deletion examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -6503,7 +6503,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
2 changes: 1 addition & 1 deletion examples/pump-app/pump-common/pump-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
2 changes: 1 addition & 1 deletion examples/pump-app/silabs/data_model/pump-wifi-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1845,7 +1845,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0"?>
<!--
Copyright (c) 2021 Project CHIP Authors
Copyright (c) 2021-2025 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.
Expand All @@ -14,7 +14,13 @@ 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>
<!--
XML generated by Alchemy; DO NOT EDIT.
Source: src/app_clusters/FlowMeasurement.adoc
Parameters: in-progress
Git: 0.7-summer-2025-ncr-295-geca1936d2
-->
<configurator xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../zcl.xsd">
<domain name="CHIP"/>
<cluster>
<name>Flow Measurement</name>
Expand All @@ -24,18 +30,12 @@ limitations under the License.
<define>FLOW_MEASUREMENT_CLUSTER</define>
<client tick="false" init="false">true</client>
<server tick="false" init="false">true</server>
<attribute side="server" code="0x0000" name="MeasuredValue" define="FLOW_MEASURED_VALUE" type="int16u" isNullable="true">
<mandatoryConform/>
</attribute>
<attribute side="server" code="0x0001" name="MinMeasuredValue" define="FLOW_MIN_MEASURED_VALUE" type="int16u" isNullable="true">
<mandatoryConform/>
</attribute>
<attribute side="server" code="0x0002" name="MaxMeasuredValue" define="FLOW_MAX_MEASURED_VALUE" type="int16u" isNullable="true">
<mandatoryConform/>
</attribute>
<globalAttribute code="0xFFFD" side="either" value="3"/>
<attribute side="server" code="0x0000" name="MeasuredValue" define="FLOW_MEASURED_VALUE" type="int16u" isNullable="true"/>
<attribute side="server" code="0x0001" name="MinMeasuredValue" define="FLOW_MIN_MEASURED_VALUE" type="int16u" isNullable="true" max="65533"/>
<attribute side="server" code="0x0002" name="MaxMeasuredValue" define="FLOW_MAX_MEASURED_VALUE" type="int16u" isNullable="true" min="1" max="65534"/>
<attribute side="server" code="0x0003" name="Tolerance" define="FLOW_TOLERANCE" type="int16u" max="0x0800" default="0" optional="true">
<optionalConform/>
</attribute>
</cluster>

</configurator>
2 changes: 1 addition & 1 deletion src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -7727,7 +7727,7 @@ cluster PressureMeasurement = 1027 {

/** Attributes and commands for configuring the measurement of flow, and reporting flow measurements. */
cluster FlowMeasurement = 1028 {
revision 1; // NOTE: Default/not specifically set
revision 3;

readonly attribute nullable int16u measuredValue = 0;
readonly attribute nullable int16u minMeasuredValue = 1;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace app {
namespace Clusters {
namespace FlowMeasurement {

inline constexpr uint32_t kRevision = 1;
inline constexpr uint32_t kRevision = 3;

namespace Attributes {
namespace MeasuredValue {
Expand Down
Loading
0