Skip to content

Commit

Permalink
Adding back the instance of the ReplacementProductList so that it can be
Browse files Browse the repository at this point in the history
used in the Read function
  • Loading branch information
cliffamzn committed Jul 27, 2023
1 parent 4c34b66 commit 26ef1aa
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,10 @@ struct TypeInfo
};
} // namespace LastChangedTime

namespace ReplacementProductList {
static constexpr AttributeId Id = 0x00000005;
}

namespace GeneratedCommandList {
static constexpr AttributeId Id = Globals::Attributes::GeneratedCommandList::Id;
struct TypeInfo : public Clusters::Globals::Attributes::GeneratedCommandList::TypeInfo
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ CHIP_ERROR Instance::Read(const ConcreteReadAttributePath & aPath, AttributeValu
ReturnErrorOnFailure(aEncoder.Encode(mLastChangedTime));
break;
}
case HepaFilterMonitoring::Attributes::ReplacementProductList::TypeInfo::GetAttributeId(): {
case Attributes::ReplacementProductList::Id: {
return ReadReplacableProductList(aEncoder);
break;
}
Expand Down

0 comments on commit 26ef1aa

Please sign in to comment.