MCTP.Endpoint: use PDI constants
Use PDI constants for `xyz.openbmc_project.MCTP.Endpoint` interface
instead of defining them locally.
Tested: Inspection only.
Change-Id: I047069a493143564e938b72658e1af4a2927f6e9
Signed-off-by: Alexander Hansen <alexander.hansen@9elements.com>
diff --git a/requester/mctp_endpoint_discovery.hpp b/requester/mctp_endpoint_discovery.hpp
index 7692849..1db6292 100644
--- a/requester/mctp_endpoint_discovery.hpp
+++ b/requester/mctp_endpoint_discovery.hpp
@@ -6,11 +6,14 @@
#include <libpldm/pldm.h>
#include <sdbusplus/bus/match.hpp>
+#include <xyz/openbmc_project/MCTP/Endpoint/client.hpp>
#include <filesystem>
#include <initializer_list>
#include <vector>
+using MCTPEndpoint = sdbusplus::common::xyz::openbmc_project::mctp::Endpoint;
+
class TestMctpDiscovery;
namespace pldm
@@ -18,7 +21,6 @@
const std::string emptyUUID = "00000000-0000-0000-0000-000000000000";
constexpr const char* MCTPService = "au.com.codeconstruct.MCTP1";
-constexpr const char* MCTPInterface = "xyz.openbmc_project.MCTP.Endpoint";
constexpr const char* EndpointUUID = "xyz.openbmc_project.Common.UUID";
constexpr const char* MCTPPath = "/au/com/codeconstruct/mctp1";
constexpr const char* MCTPInterfaceCC = "au.com.codeconstruct.MCTP.Endpoint1";