Skip to content

Commit

Permalink
Add TODO to CheckIfClusterCommandExists
Browse files Browse the repository at this point in the history
  • Loading branch information
erjiaqing committed May 20, 2021
1 parent 5b47041 commit 1350bee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/util/ember-compatibility-functions.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 1350bee

Please sign in to comment.