Fix OpenBMC CI fail
Temporary implementation of PDR.FindStateSensorPDR D-Bus interface.
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>
Change-Id: Ic5c8c212b66078ad589b6342b9ee426d2e7f2000
diff --git a/dbus_impl_pdr.hpp b/dbus_impl_pdr.hpp
index 7033526..f21552e 100644
--- a/dbus_impl_pdr.hpp
+++ b/dbus_impl_pdr.hpp
@@ -51,6 +51,18 @@
findStateEffecterPDR(uint8_t tid, uint16_t entityID,
uint16_t stateSetId) override;
+ /** @brief Implementation for PdrIntf.FindStateSensorPDR
+ * @param[in] tid - PLDM terminus ID.
+ * @param[in] entityID - entity that can be associated with PLDM State set.
+ * @param[in] stateSetId - value that identifies PLDM State set.
+ */
+ std::vector<std::vector<uint8_t>>
+ findStateSensorPDR(uint8_t tid, uint16_t entityID,
+ uint16_t stateSetId) override
+ {
+ return {};
+ }
+
private:
/** @brief pointer to BMC's primary PDR repo */
const pldm_pdr* pdrRepo;