Skip to content

Commit ca4284d

Browse files
committed
update constraints for LocalTemperatureCalibration and MinSetpointDeadBand attributes
1 parent 8306353 commit ca4284d

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
@@ -345,7 +345,7 @@ limitations under the License.
345345
<access op="read" privilege="view"/>
346346
<access op="write" privilege="manage"/>
347347
</attribute>
348-
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="0xE7" max="0x19" writable="true" default="0x00" optional="true">
348+
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="-127" max="127" writable="true" default="0x00" optional="true">
349349
<description>LocalTemperatureCalibration</description>
350350
<access op="write" privilege="manage"/>
351351
</attribute>
@@ -369,7 +369,7 @@ limitations under the License.
369369
<description>MaxCoolSetpointLimit</description>
370370
<access op="write" privilege="manage"/>
371371
</attribute>
372-
<attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="int8s" min="0" max="25" writable="true" default="25" optional="true">
372+
<attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="int8s" min="0" max="127" writable="true" default="25" optional="true">
373373
<description>MinSetpointDeadBand</description>
374374
<access op="write" privilege="manage"/>
375375
</attribute>

0 commit comments

Comments
 (0)