diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2024-02-19 14:49:42 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-19 14:49:42 -0500 |
| commit | 8d5473e67c202768673d4d9f3e59df50501f30e4 (patch) | |
| tree | 2c6ba25f4778db3ff9e60f5c84abcb98a15b751b /src/core/hle/service/btm/btm_debug.cpp | |
| parent | 3b1b98c645d62c724b831cc2f72a23565e3e33d5 (diff) | |
| parent | 110969e2070577557eddef09071a7be3f5ead8e4 (diff) | |
Merge pull request #13031 from german77/btm-interfcae
service: btm: Migrate service to new IPC
Diffstat (limited to 'src/core/hle/service/btm/btm_debug.cpp')
| -rw-r--r-- | src/core/hle/service/btm/btm_debug.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/core/hle/service/btm/btm_debug.cpp b/src/core/hle/service/btm/btm_debug.cpp new file mode 100644 index 000000000..4d61d2641 --- /dev/null +++ b/src/core/hle/service/btm/btm_debug.cpp @@ -0,0 +1,33 @@ +// SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project +// SPDX-License-Identifier: GPL-3.0-or-later + +#include "core/hle/service/btm/btm_debug.h" + +namespace Service::BTM { + +IBtmDebug::IBtmDebug(Core::System& system_) : ServiceFramework{system_, "btm:dbg"} { + // clang-format off + static const FunctionInfo functions[] = { + {0, nullptr, "AcquireDiscoveryEvent"}, + {1, nullptr, "StartDiscovery"}, + {2, nullptr, "CancelDiscovery"}, + {3, nullptr, "GetDeviceProperty"}, + {4, nullptr, "CreateBond"}, + {5, nullptr, "CancelBond"}, + {6, nullptr, "SetTsiMode"}, + {7, nullptr, "GeneralTest"}, + {8, nullptr, "HidConnect"}, + {9, nullptr, "GeneralGet"}, + {10, nullptr, "GetGattClientDisconnectionReason"}, + {11, nullptr, "GetBleConnectionParameter"}, + {12, nullptr, "GetBleConnectionParameterRequest"}, + {13, nullptr, "Unknown13"}, + }; + // clang-format on + + RegisterHandlers(functions); +} + +IBtmDebug::~IBtmDebug() = default; + +} // namespace Service::BTM |
