summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/nwm_uds.cpp
blob: ce456a966c2b3cf8ee750cdc49a0c6f120cb5d42 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// Copyright 2014 Citra Emulator Project
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.

#include "common/log.h"
#include "core/hle/hle.h"
#include "core/hle/service/nwm_uds.h"

////////////////////////////////////////////////////////////////////////////////////////////////////
// Namespace NWM_UDS

namespace NWM_UDS {

const Interface::FunctionInfo FunctionTable[] = {
    {0x00030000, nullptr,               "Shutdown"},
    {0x000F0404, nullptr,               "RecvBeaconBroadcastData"},
    {0x00100042, nullptr,               "SetBeaconAdditionalData"},
    {0x001400C0, nullptr,               "RecvBroadcastDataFrame"},
    {0x001B0302, nullptr,               "Initialize"},
    {0x001D0044, nullptr,               "BeginHostingNetwork"},
    {0x001E0084, nullptr,               "ConnectToNetwork"},
    {0x001F0006, nullptr,               "DecryptBeaconData"},
};

////////////////////////////////////////////////////////////////////////////////////////////////////
// Interface class

Interface::Interface() {
    Register(FunctionTable, ARRAY_SIZE(FunctionTable));
}

} // namespace