Skip to content

Commit

Permalink
Added Feature Map to read handler
Browse files Browse the repository at this point in the history
  • Loading branch information
mhazley committed Sep 7, 2023
1 parent 0e7d3b7 commit b62400b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/clusters/air-quality-server/air-quality-server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ CHIP_ERROR Instance::Read(const ConcreteReadAttributePath & aPath, AttributeValu
case Attributes::AirQuality::Id:
ReturnErrorOnFailure(aEncoder.Encode(mAirQuality));
break;
case Attributes::FeatureMap::Id:
ReturnErrorOnFailure(aEncoder.Encode(mFeature.Raw()));
break;
}
return CHIP_NO_ERROR;
}
Expand Down

0 comments on commit b62400b

Please sign in to comment.