oem ibm: marker LID validation
This commit adds code for writing marker LID
from Host and also send a PlatformEventMessage
after validation.
This commit also subscribes for the interface added
signal to fetch the new image id and sends the relevant
sensor event to host
Change-Id: I92476beca18e6dd255f372dd82d6eaeca18e282c
Signed-off-by: Sampa Misra <sampmisr@in.ibm.com>
diff --git a/libpldmresponder/oem_handler.hpp b/libpldmresponder/oem_handler.hpp
index 37d785e..ba0077f 100644
--- a/libpldmresponder/oem_handler.hpp
+++ b/libpldmresponder/oem_handler.hpp
@@ -57,7 +57,7 @@
* terms of PLDM completion codes if atleast one state fails to
* be set
*/
- virtual int OemSetStateEffecterStatesHandler(
+ virtual int oemSetStateEffecterStatesHandler(
uint16_t entityType, uint16_t entityInstance, uint16_t stateSetId,
uint8_t compEffecterCnt,
std::vector<set_effecter_state_field>& stateField,
diff --git a/libpldmresponder/platform.cpp b/libpldmresponder/platform.cpp
index 0e5b22d..6796ee5 100644
--- a/libpldmresponder/platform.cpp
+++ b/libpldmresponder/platform.cpp
@@ -260,7 +260,7 @@
entityInstance, stateSetId) &&
oemPlatformHandler != nullptr)
{
- rc = oemPlatformHandler->OemSetStateEffecterStatesHandler(
+ rc = oemPlatformHandler->oemSetStateEffecterStatesHandler(
entityType, entityInstance, stateSetId, compEffecterCnt, stateField,
effecterId);
}