Skip to content

Commit a27044f

Browse files
Merge branch 'master' into TC-SC-4.3-python-test
2 parents b5efc2b + 2a60735 commit a27044f

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
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) 0x7F }, /* MinSetpointDeadBand */ \
310+
{ (uint16_t) 0x19, (uint16_t) 0x0, (uint16_t) 0x19 }, /* 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/clusters/thermostat-server/thermostat-server.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const app::ConcreteAttr
409409
requested = *value;
410410
if (!AutoSupported)
411411
return imcode::UnsupportedAttribute;
412-
if (requested < 0 || requested > 127)
412+
if (requested < 0 || requested > 25)
413413
return imcode::InvalidValue;
414414
return imcode::Success;
415415
}

src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml

+3-3
Original file line numberDiff line numberDiff line change
@@ -243,8 +243,8 @@ tests:
243243
response:
244244
constraints:
245245
type: int8s
246-
minValue: -127
247-
maxValue: 127
246+
minValue: -25
247+
maxValue: 25
248248

249249
- label: "Step 13a: TH reads attribute OccupiedCoolingSetpoint from the DUT"
250250
PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018
@@ -426,7 +426,7 @@ tests:
426426
constraints:
427427
type: int8s
428428
minValue: 0
429-
maxValue: 127
429+
maxValue: 25
430430

431431
- label: "Step 22: TH reads the RemoteSensing attribute from the DUT"
432432
PICS: TSTAT.S.A001a

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="-127" max="127" writable="true" default="0x00" optional="true">
340+
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="0xE7" max="0x19" 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="127" writable="true" default="25" optional="true">
364+
<attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="int8s" min="0" max="25" writable="true" default="25" optional="true">
365365
<description>MinSetpointDeadBand</description>
366366
<access op="write" privilege="manage"/>
367367
</attribute>

0 commit comments

Comments
 (0)