Skip to content

Commit 3a2f6a1

Browse files
authored
Merge pull request #25 from erwinpan1/fix_max_of_pressure_cluster
Fix Chef MaxMeasuredValue of PressureMeasurement (project-chip#36434)
2 parents 8a245c1 + 3efd1a0 commit 3a2f6a1

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -1608,7 +1608,7 @@ endpoint 1 {
16081608
server cluster PressureMeasurement {
16091609
ram attribute measuredValue default = 0xA;
16101610
ram attribute minMeasuredValue default = 1;
1611-
ram attribute maxMeasuredValue default = 0xfffe;
1611+
ram attribute maxMeasuredValue default = 32767;
16121612
callback attribute generatedCommandList;
16131613
callback attribute acceptedCommandList;
16141614
callback attribute attributeList;

examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap

+2-2
Original file line numberDiff line numberDiff line change
@@ -2939,7 +2939,7 @@
29392939
"storageOption": "RAM",
29402940
"singleton": 0,
29412941
"bounded": 0,
2942-
"defaultValue": "0xfffe",
2942+
"defaultValue": "32767",
29432943
"reportable": 1,
29442944
"minInterval": 1,
29452945
"maxInterval": 65534,
@@ -3048,4 +3048,4 @@
30483048
"parentEndpointIdentifier": null
30493049
}
30503050
]
3051-
}
3051+
}

0 commit comments

Comments
 (0)