MctpEndpoint: Update to use new MCTPd Interfaces Tested: Manually Google-Bug-Id: 427282611 Change-Id: I3a41114b6639fb48b3d9db60c0a50abefca49059 Signed-off-by: Muhammad Usama <muhammadusama@google.com>
diff --git a/src/MctpEndpoint.cpp b/src/MctpEndpoint.cpp index 50145e0..3391e35 100644 --- a/src/MctpEndpoint.cpp +++ b/src/MctpEndpoint.cpp
@@ -13,12 +13,13 @@ #include <memory> #include <system_error> -static constexpr const char* mctpdBusName = "xyz.openbmc_project.MCTP"; -static constexpr const char* mctpdControlPath = "/xyz/openbmc_project/mctp"; +static constexpr const char* mctpdBusName = "au.com.codeconstruct.MCTP1"; +static constexpr const char* mctpdControlPath = + "/au/com/codeconstruct/mctp1/interfaces/"; static constexpr const char* mctpdControlInterface = - "au.com.CodeConstruct.MCTP"; + "au.com.codeconstruct.MCTP.BusOwner1"; static constexpr const char* mctpdEndpointControlInterface = - "au.com.CodeConstruct.MCTP.Endpoint"; + "au.com.codeconstruct.MCTP.Endpoint1"; MctpdDevice::MctpdDevice( const std::shared_ptr<sdbusplus::asio::connection>& connection, @@ -86,9 +87,9 @@ }; try { - connection->async_method_call(onSetup, mctpdBusName, mctpdControlPath, - mctpdControlInterface, "SetupEndpoint", - interface, physaddr); + connection->async_method_call( + onSetup, mctpdBusName, mctpdControlPath + interface, + mctpdControlInterface, "SetupEndpoint", physaddr); } catch (const sdbusplus::exception::SdBusError& err) {