From 3efd1a059196fc19c6cd48542829ba2df1192863 Mon Sep 17 00:00:00 2001 From: Erwin Pan Date: Fri, 8 Nov 2024 22:09:58 +0800 Subject: [PATCH] Fix Chef MaxMeasuredValue of PressureMeasurement (#36434) --- .../chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter | 2 +- examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter index c3c621998dbe3b..fb3a361ad952a8 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.matter @@ -1608,7 +1608,7 @@ endpoint 1 { server cluster PressureMeasurement { ram attribute measuredValue default = 0xA; ram attribute minMeasuredValue default = 1; - ram attribute maxMeasuredValue default = 0xfffe; + ram attribute maxMeasuredValue default = 32767; callback attribute generatedCommandList; callback attribute acceptedCommandList; callback attribute attributeList; diff --git a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap index 00a5272aa76766..a8428c220060ac 100644 --- a/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap +++ b/examples/chef/devices/rootnode_pressuresensor_s0qC9wLH4k.zap @@ -2939,7 +2939,7 @@ "storageOption": "RAM", "singleton": 0, "bounded": 0, - "defaultValue": "0xfffe", + "defaultValue": "32767", "reportable": 1, "minInterval": 1, "maxInterval": 65534, @@ -3048,4 +3048,4 @@ "parentEndpointIdentifier": null } ] -} \ No newline at end of file +}