Skip to content

Commit

Permalink
Enable pressure measurement attributes in controller config. (#18189)
Browse files Browse the repository at this point in the history
Fixes #15473
  • Loading branch information
bzbarsky-apple authored May 9, 2022
1 parent 6cf6a79 commit 04c85c7
Show file tree
Hide file tree
Showing 16 changed files with 1,865 additions and 3 deletions.
6 changes: 6 additions & 0 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -3079,6 +3079,12 @@ client cluster PressureMeasurement = 1027 {
readonly attribute nullable int16s measuredValue = 0;
readonly attribute nullable int16s minMeasuredValue = 1;
readonly attribute nullable int16s maxMeasuredValue = 2;
readonly attribute int16u tolerance = 3;
readonly attribute nullable int16s scaledValue = 16;
readonly attribute nullable int16s minScaledValue = 17;
readonly attribute nullable int16s maxScaledValue = 18;
readonly attribute int16u scaledTolerance = 19;
readonly attribute int8s scale = 20;
readonly attribute attrib_id attributeList[] = 65531;
readonly attribute int16u clusterRevision = 65533;
}
Expand Down
54 changes: 51 additions & 3 deletions src/controller/data_model/controller-clusters.zap
Original file line number Diff line number Diff line change
Expand Up @@ -14103,7 +14103,7 @@
"mfgCode": null,
"side": "server",
"type": "int16u",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand All @@ -14119,7 +14119,7 @@
"mfgCode": null,
"side": "server",
"type": "int16s",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand All @@ -14129,13 +14129,45 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "MinScaledValue",
"code": 17,
"mfgCode": null,
"side": "server",
"type": "int16s",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "MaxScaledValue",
"code": 18,
"mfgCode": null,
"side": "server",
"type": "int16s",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ScaledTolerance",
"code": 19,
"mfgCode": null,
"side": "server",
"type": "int16u",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand All @@ -14145,6 +14177,22 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "Scale",
"code": 20,
"mfgCode": null,
"side": "server",
"type": "int8s",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"reportable": 1,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "AttributeList",
"code": 65531,
Expand Down
111 changes: 111 additions & 0 deletions src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp

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

12 changes: 12 additions & 0 deletions src/controller/java/zap-generated/CHIPCallbackTypes.h

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

Loading

0 comments on commit 04c85c7

Please sign in to comment.