pldm_events: Implement support for state sensorEvents

PLDM supports platform event message by which events can be generated
by a PLDM entity and can be processed by event receiver like BMC. This
patch adds support for remote state sensors which sends PlatformEventMessage
command with sensorEvent type. The sensor is mapped to a D-Bus property
and the eventState is mapped to a D-Bus property value.

Signed-off-by: Tom Joseph <tomjoseph@in.ibm.com>
Change-Id: I50dea23eccbdf29ad1b4cf2c9ab5700d74c12c68
diff --git a/types.hpp b/types.hpp
index e194c94..d701cfc 100644
--- a/types.hpp
+++ b/types.hpp
@@ -34,6 +34,8 @@
 using EntityInstance = uint16_t;

 using ContainerID = uint16_t;

 using CompositeCount = uint8_t;

+using SensorOffset = uint8_t;

+using EventState = uint8_t;

 

 //!< Subset of the State Set that is supported by a effecter/sensor

 using PossibleStates = std::set<uint8_t>;