Skip to content

Commit

Permalink
Bugfix add tolerance attribute (#10967)
Browse files Browse the repository at this point in the history
* enable tolerance for temperature measurement, relative humidity & flow control cluster on controller side

* enable tolerance for temperature measurement, relative humidity & flow control cluster on all-cluster-appp

* regen all
  • Loading branch information
eve-cxrp authored Oct 27, 2021
1 parent 22f8115 commit f9cd836
Show file tree
Hide file tree
Showing 18 changed files with 903 additions and 52 deletions.
61 changes: 38 additions & 23 deletions examples/all-clusters-app/all-clusters-common/all-clusters-app.zap
Original file line number Diff line number Diff line change
Expand Up @@ -5698,7 +5698,7 @@
"commands": [],
"attributes": [
{
"name": "measured value",
"name": "MeasuredValue",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -5713,7 +5713,7 @@
"reportableChange": 0
},
{
"name": "min measured value",
"name": "MinMeasuredValue",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -5728,7 +5728,7 @@
"reportableChange": 0
},
{
"name": "max measured value",
"name": "MaxMeasuredValue",
"code": 2,
"mfgCode": null,
"side": "server",
Expand All @@ -5743,7 +5743,7 @@
"reportableChange": 0
},
{
"name": "tolerance",
"name": "Tolerance",
"code": 3,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -12666,7 +12666,7 @@
"commands": [],
"attributes": [
{
"name": "measured value",
"name": "MeasuredValue",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -12681,7 +12681,7 @@
"reportableChange": 0
},
{
"name": "min measured value",
"name": "MinMeasuredValue",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -12696,7 +12696,7 @@
"reportableChange": 0
},
{
"name": "max measured value",
"name": "MaxMeasuredValue",
"code": 2,
"mfgCode": null,
"side": "server",
Expand All @@ -12711,11 +12711,11 @@
"reportableChange": 0
},
{
"name": "tolerance",
"name": "Tolerance",
"code": 3,
"mfgCode": null,
"side": "server",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -12778,7 +12778,7 @@
"commands": [],
"attributes": [
{
"name": "measured value",
"name": "MeasuredValue",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -12793,7 +12793,7 @@
"reportableChange": 0
},
{
"name": "min measured value",
"name": "MinMeasuredValue",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -12808,7 +12808,7 @@
"reportableChange": 0
},
{
"name": "max measured value",
"name": "MaxMeasuredValue",
"code": 2,
"mfgCode": null,
"side": "server",
Expand All @@ -12823,7 +12823,7 @@
"reportableChange": 0
},
{
"name": "tolerance",
"name": "Tolerance",
"code": 3,
"mfgCode": null,
"side": "server",
Expand All @@ -12838,7 +12838,7 @@
"reportableChange": 0
},
{
"name": "scaled value",
"name": "ScaledValue",
"code": 16,
"mfgCode": null,
"side": "server",
Expand All @@ -12853,7 +12853,7 @@
"reportableChange": 0
},
{
"name": "scaled tolerance",
"name": "ScaledTolerance",
"code": 19,
"mfgCode": null,
"side": "server",
Expand Down Expand Up @@ -12920,7 +12920,7 @@
"commands": [],
"attributes": [
{
"name": "measured value",
"name": "MeasuredValue",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -12935,7 +12935,7 @@
"reportableChange": 0
},
{
"name": "min measured value",
"name": "MinMeasuredValue",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -12950,7 +12950,7 @@
"reportableChange": 0
},
{
"name": "max measured value",
"name": "MaxMeasuredValue",
"code": 2,
"mfgCode": null,
"side": "server",
Expand All @@ -12964,6 +12964,21 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "Tolerance",
"code": 3,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down Expand Up @@ -13066,7 +13081,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -18618,7 +18633,7 @@
"commands": [],
"attributes": [
{
"name": "measured value",
"name": "MeasuredValue",
"code": 0,
"mfgCode": null,
"side": "server",
Expand All @@ -18633,7 +18648,7 @@
"reportableChange": 0
},
{
"name": "min measured value",
"name": "MinMeasuredValue",
"code": 1,
"mfgCode": null,
"side": "server",
Expand All @@ -18648,7 +18663,7 @@
"reportableChange": 0
},
{
"name": "max measured value",
"name": "MaxMeasuredValue",
"code": 2,
"mfgCode": null,
"side": "server",
Expand All @@ -18663,7 +18678,7 @@
"reportableChange": 0
},
{
"name": "tolerance",
"name": "Tolerance",
"code": 3,
"mfgCode": null,
"side": "server",
Expand Down
19 changes: 17 additions & 2 deletions src/controller/data_model/controller-clusters.zap
Original file line number Diff line number Diff line change
Expand Up @@ -8830,7 +8830,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down Expand Up @@ -9079,6 +9079,21 @@
"maxInterval": 65344,
"reportableChange": 0
},
{
"name": "tolerance",
"code": 3,
"mfgCode": null,
"side": "server",
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
"defaultValue": "0",
"reportable": 0,
"minInterval": 1,
"maxInterval": 65534,
"reportableChange": 0
},
{
"name": "ClusterRevision",
"code": 65533,
Expand Down Expand Up @@ -9181,7 +9196,7 @@
"code": 3,
"mfgCode": null,
"side": "server",
"included": 0,
"included": 1,
"storageOption": "RAM",
"singleton": 0,
"bounded": 0,
Expand Down
Loading

0 comments on commit f9cd836

Please sign in to comment.