From 1350beedc16bb1a679cfb68219c6ad2ef685dec5 Mon Sep 17 00:00:00 2001 From: Song Guo Date: Thu, 20 May 2021 22:40:04 +0800 Subject: [PATCH] Add TODO to CheckIfClusterCommandExists --- src/app/util/ember-compatibility-functions.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/util/ember-compatibility-functions.cpp b/src/app/util/ember-compatibility-functions.cpp index cc4c221536e709..712d39a1414262 100644 --- a/src/app/util/ember-compatibility-functions.cpp +++ b/src/app/util/ember-compatibility-functions.cpp @@ -83,6 +83,8 @@ void ResetEmberAfObjects() CHIP_ERROR CheckIfClusterCommandExists(chip::ClusterId aClusterId, chip::CommandId aCommandId, chip::EndpointId aEndPointId) { + // TODO: Currently, we are using cluster category from the ember library, this should be modified or replaced after several + // updates to Commands. return emberAfContainsServerWithMfgCode(aEndPointId, aClusterId, 0x0) ? CHIP_NO_ERROR : CHIP_ERROR_INVALID_PROFILE_ID; }