Skip to content

Commit 21a5bd6

Browse files
authored
update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes (project-chip#34473)
1 parent c4a25e6 commit 21a5bd6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

scripts/tools/zap/tests/outputs/all-clusters-app/app-templates/endpoint_config.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@
307307
{ (uint16_t) 0xBB8, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MaxHeatSetpointLimit */ \
308308
{ (uint16_t) 0x640, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MinCoolSetpointLimit */ \
309309
{ (uint16_t) 0xC80, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MaxCoolSetpointLimit */ \
310-
{ (uint16_t) 0x19, (uint16_t) 0x0, (uint16_t) 0x19 }, /* MinSetpointDeadBand */ \
310+
{ (uint16_t) 0x19, (uint16_t) 0x0, (uint16_t) 0x7F }, /* MinSetpointDeadBand */ \
311311
{ (uint16_t) 0x4, (uint16_t) 0x0, (uint16_t) 0x5 }, /* ControlSequenceOfOperation */ \
312312
{ (uint16_t) 0x1, (uint16_t) 0x0, (uint16_t) 0x9 }, /* SystemMode */ \
313313
\

src/app/zap-templates/zcl/data-model/chip/thermostat-cluster.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ limitations under the License.
337337
<access op="read" privilege="view"/>
338338
<access op="write" privilege="manage"/>
339339
</attribute>
340-
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="0xE7" max="0x19" writable="true" default="0x00" optional="true">
340+
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="-127" max="127" writable="true" default="0x00" optional="true">
341341
<description>LocalTemperatureCalibration</description>
342342
<access op="write" privilege="manage"/>
343343
</attribute>
@@ -361,7 +361,7 @@ limitations under the License.
361361
<description>MaxCoolSetpointLimit</description>
362362
<access op="write" privilege="manage"/>
363363
</attribute>
364-
<attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="int8s" min="0" max="25" writable="true" default="25" optional="true">
364+
<attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="int8s" min="0" max="127" writable="true" default="25" optional="true">
365365
<description>MinSetpointDeadBand</description>
366366
<access op="write" privilege="manage"/>
367367
</attribute>

0 commit comments

Comments
 (0)