Skip to content

Commit ca4607d

Browse files
authored
Merge branch 'master' into feature/fix-cluster-revisions
2 parents 48300d0 + 523fea6 commit ca4607d

File tree

16 files changed

+1763
-360
lines changed

16 files changed

+1763
-360
lines changed

src/app/clusters/scenes-server/SceneTable.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ inline constexpr SceneId kUndefinedSceneId = 0xff;
3939

4040
static constexpr size_t kIteratorsMax = CHIP_CONFIG_MAX_SCENES_CONCURRENT_ITERATORS;
4141
static constexpr size_t kSceneNameMaxLength = CHIP_CONFIG_SCENES_CLUSTER_MAXIMUM_NAME_LENGTH;
42-
static constexpr size_t kScenesMaxTransitionTime = 6'000'000u;
42+
static constexpr size_t kScenesMaxTransitionTime = 60'000'000u;
4343

4444
/// @brief SceneHandlers are meant as interface between various clusters and the Scene table.
4545
/// When a scene command involving extension field sets is received, the Scene Table will go through

src/app/clusters/scenes-server/scenes-server.cpp

+9-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,15 @@ CHIP_ERROR AddResponseOnError(CommandHandlerInterface::HandlerContext & ctx, Res
6161
{
6262
if (CHIP_NO_ERROR != err)
6363
{
64-
resp.status = to_underlying(StatusIB(err).mStatus);
64+
// TODO : Properly fix mapping between error types (issue https://github.com/project-chip/connectedhomeip/issues/26885)
65+
if (CHIP_ERROR_NOT_FOUND == err)
66+
{
67+
resp.status = to_underlying(Protocols::InteractionModel::Status::NotFound);
68+
}
69+
else
70+
{
71+
resp.status = to_underlying(StatusIB(err).mStatus);
72+
}
6573
ctx.mCommandHandler.AddResponse(ctx.mRequestPath, resp);
6674
}
6775
return err;

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

+1-6
Original file line numberDiff line numberDiff line change
@@ -5781,7 +5781,7 @@ PICS:
57815781
- label: "Write all supported optional attributes"
57825782
id: RH.C.AO-WRITE
57835783

5784-
# Scenes Cluster Test Plan
5784+
# Scenes Management Cluster Test Plan
57855785
- label: "Does the device implement the Scenes cluster as a server?"
57865786
id: S.S
57875787

@@ -5870,11 +5870,6 @@ PICS:
58705870
- label: "Does the device implement sending the CopyScene command?"
58715871
id: S.C.C40.Tx
58725872

5873-
- label:
5874-
"Does the device process the TransitionTime parameter of the
5875-
RecallScene command?"
5876-
id: PICS_SC_RECALL_SCENE_TRANSITION_TIME_MS
5877-
58785873
#
58795874
# client / manually
58805875
#

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ tests:
110110
contains: [0, 1, 2, 3, 4, 6]
111111

112112
- label:
113-
"Step 7b: Read optional command(CopySceneResponse) in
113+
"Step 7b: TH reads Read optional command(CopySceneResponse) in
114114
GeneratedCommandList (global attribute 65528)"
115115
PICS: S.S.C40.Rsp
116116
command: "readAttribute"

0 commit comments

Comments
 (0)