Initial NWM_INF::RecvBeaconBroadcastData implementation

This commit is contained in:
PTRCoder 2024-08-22 22:38:49 +02:00
parent 01baadf7a4
commit d204bfa05c
2 changed files with 21 additions and 0 deletions

View File

@ -4,11 +4,17 @@
#include "common/archives.h"
#include "core/hle/service/nwm/nwm_inf.h"
#include "core/hle/service/nwm/nwm_uds.h"
SERIALIZE_EXPORT_IMPL(Service::NWM::NWM_INF)
namespace Service::NWM {
NWM_INF::RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx) {
// TODO(PTR) Update implementation to cover differences between NWM_INF and NWM_UDS
NWM_UDS::RecvBeaconBroadcastData(ctx);
}
NWM_INF::NWM_INF() : ServiceFramework("nwm::INF") {
static const FunctionInfo functions[] = {
// clang-format off

View File

@ -12,6 +12,21 @@ class NWM_INF final : public ServiceFramework<NWM_INF> {
public:
NWM_INF();
/**
* NWM::RecvBeaconBroadcastData service function
* Inputs:
* 1 : Output buffer max size
* 2-14 : Input ScanInputStruct.
* 15 : u32, unknown
* 16 : Value 0x0
* 17 : Input handle
* 18 : (Size<<4) | 12
* 19 : Output BeaconDataReply buffer ptr
* Outputs:
* 1 : Result of function, 0 on success, otherwise error code
*/
void RecvBeaconBroadcastData(Kernel::HLERequestContext& ctx);
private:
SERVICE_SERIALIZATION_SIMPLE
};