Skip to content

Commit

Permalink
Add FeatureMap to pressure sensor (#15081)
Browse files Browse the repository at this point in the history
* Added PressureFeature bitmap to PSR

* Ran zap_regen_all.py

* Regenerated zap files.
  • Loading branch information
tlykkeberg-grundfos authored and pull[bot] committed Feb 1, 2024
1 parent abd72da commit 3607990
Show file tree
Hide file tree
Showing 9 changed files with 40 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2488,6 +2488,10 @@ server cluster PowerSourceConfiguration = 46 {
}

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
Expand Down
8 changes: 8 additions & 0 deletions examples/pump-app/pump-common/pump-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -1031,6 +1031,10 @@ server cluster OperationalCredentials = 62 {
}

client cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
Expand All @@ -1044,6 +1048,10 @@ client cluster PressureMeasurement = 1027 {
}

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -715,6 +715,10 @@ server cluster OperationalCredentials = 62 {
}

client cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2196,6 +2196,10 @@ server cluster OperationalCredentials = 62 {
}

server cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,8 @@ limitations under the License.
<attribute side="server" code="0x0014" define="PRESSURE_SCALE" type="INT8S" writable="false" optional="true" default="0">Scale</attribute>
</cluster>

<bitmap name="PressureFeature" type="BITMAP32">
<cluster code="0x0403"/>
<field name="EXT" mask="0x1"/>
</bitmap>
</configurator>
4 changes: 4 additions & 0 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2908,6 +2908,10 @@ client cluster PowerSourceConfiguration = 46 {
}

client cluster PressureMeasurement = 1027 {
bitmap PressureFeature : BITMAP32 {
kExt = 0x1;
}

readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
Expand Down
4 changes: 4 additions & 0 deletions src/darwin/Framework/CHIP/zap-generated/CHIPClustersObjc.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions zzz_generated/app-common/app-common/zap-generated/enums.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3607990

Please sign in to comment.