Skip to content

Commit

Permalink
Merge b6665b9 into 4423b3a
Browse files Browse the repository at this point in the history
  • Loading branch information
cecille authored Jul 25, 2024
2 parents 4423b3a + b6665b9 commit 4434183
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@
{ (uint16_t) 0xBB8, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MaxHeatSetpointLimit */ \
{ (uint16_t) 0x640, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MinCoolSetpointLimit */ \
{ (uint16_t) 0xC80, (uint16_t) -0x6AB3, (uint16_t) 0x7FFF }, /* MaxCoolSetpointLimit */ \
{ (uint16_t) 0x19, (uint16_t) 0x0, (uint16_t) 0x7F }, /* MinSetpointDeadBand */ \
{ (uint16_t) 0x19, (uint16_t) 0x0, (uint16_t) 0x19 }, /* MinSetpointDeadBand */ \
{ (uint16_t) 0x4, (uint16_t) 0x0, (uint16_t) 0x5 }, /* ControlSequenceOfOperation */ \
{ (uint16_t) 0x1, (uint16_t) 0x0, (uint16_t) 0x9 }, /* SystemMode */ \
\
Expand Down
2 changes: 1 addition & 1 deletion src/app/clusters/thermostat-server/thermostat-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ MatterThermostatClusterServerPreAttributeChangedCallback(const app::ConcreteAttr
requested = *value;
if (!AutoSupported)
return imcode::UnsupportedAttribute;
if (requested < 0 || requested > 127)
if (requested < 0 || requested > 25)
return imcode::InvalidValue;
return imcode::Success;
}
Expand Down
6 changes: 3 additions & 3 deletions src/app/tests/suites/certification/Test_TC_TSTAT_2_1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,8 +243,8 @@ tests:
response:
constraints:
type: int8s
minValue: -127
maxValue: 127
minValue: -25
maxValue: 25

- label: "Step 13a: TH reads attribute OccupiedCoolingSetpoint from the DUT"
PICS: TSTAT.S.F01 && TSTAT.S.A0017 && TSTAT.S.A0018
Expand Down Expand Up @@ -426,7 +426,7 @@ tests:
constraints:
type: int8s
minValue: 0
maxValue: 127
maxValue: 25

- label: "Step 22: TH reads the RemoteSensing attribute from the DUT"
PICS: TSTAT.S.A001a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ limitations under the License.
<access op="read" privilege="view"/>
<access op="write" privilege="manage"/>
</attribute>
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="-127" max="127" writable="true" default="0x00" optional="true">
<attribute side="server" code="0x0010" define="LOCAL_TEMPERATURE_CALIBRATION" type="int8s" min="0xE7" max="0x19" writable="true" default="0x00" optional="true">
<description>LocalTemperatureCalibration</description>
<access op="write" privilege="manage"/>
</attribute>
Expand All @@ -361,7 +361,7 @@ limitations under the License.
<description>MaxCoolSetpointLimit</description>
<access op="write" privilege="manage"/>
</attribute>
<attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="int8s" min="0" max="127" writable="true" default="25" optional="true">
<attribute side="server" code="0x0019" define="MIN_SETPOINT_DEAD_BAND" type="int8s" min="0" max="25" writable="true" default="25" optional="true">
<description>MinSetpointDeadBand</description>
<access op="write" privilege="manage"/>
</attribute>
Expand Down

0 comments on commit 4434183

Please sign in to comment.