diff --git a/ldn_mitm/source/ldn_icommunication.cpp b/ldn_mitm/source/ldn_icommunication.cpp index 5717e90..cda1579 100644 --- a/ldn_mitm/source/ldn_icommunication.cpp +++ b/ldn_mitm/source/ldn_icommunication.cpp @@ -74,6 +74,10 @@ Result ICommunicationInterface::SetWirelessControllerRestriction() { return 0; } +Result ICommunicationInterface::SetOperationMode(u8 mode) { + return 0; +} + Result ICommunicationInterface::GetState(Out state) { state.SetValue(static_cast(this->lanDiscovery.getState())); diff --git a/ldn_mitm/source/ldn_icommunication.hpp b/ldn_mitm/source/ldn_icommunication.hpp index 0420a1f..d989f6b 100644 --- a/ldn_mitm/source/ldn_icommunication.hpp +++ b/ldn_mitm/source/ldn_icommunication.hpp @@ -33,7 +33,7 @@ enum LdnCommCmd { LdnCommCmd_GetNetworkInfoLatestUpdate = 101, LdnCommCmd_Scan = 102, LdnCommCmd_ScanPrivate = 103, // nyi - LdnCommCmd_SetWirelessControllerRestriction = 104, // nyi. Not sure the name of 104. guessed from smash + LdnCommCmd_SetWirelessControllerRestriction = 104, // nyi LdnCommCmd_OpenAccessPoint = 200, LdnCommCmd_CloseAccessPoint = 201, LdnCommCmd_CreateNetwork = 202, @@ -47,10 +47,12 @@ enum LdnCommCmd { LdnCommCmd_OpenStation = 300, LdnCommCmd_CloseStation = 301, LdnCommCmd_Connect = 302, - LdnCommCmd_ConnectPrivate = 303, // nyi + LdnCommCmd_ConnectPrivate = 303, // nyi LdnCommCmd_Disconnect = 304, LdnCommCmd_Initialize = 400, LdnCommCmd_Finalize = 401, + LdnCommCmd_InitializeSystem2 = 402, // nyi + LdnCommCmd_SetOperationMode = 403, // nyi }; class ICommunicationInterface : public IServiceObject { @@ -92,6 +94,7 @@ class ICommunicationInterface : public IServiceObject { Result Connect(ConnectNetworkData dat, InPointer data); Result GetNetworkInfoLatestUpdate(OutPointerWithServerSize buffer, OutPointerWithClientSize pUpdates); Result SetWirelessControllerRestriction(); + Result SetOperationMode(u8 mode); public: DEFINE_SERVICE_DISPATCH_TABLE { MakeServiceCommandMeta(), @@ -116,5 +119,7 @@ class ICommunicationInterface : public IServiceObject { MakeServiceCommandMeta(), MakeServiceCommandMeta(), MakeServiceCommandMeta(), + MakeServiceCommandMeta(), + MakeServiceCommandMeta(), }; };