btm_debug.cpp 1.1 KB

123456789101112131415161718192021222324252627282930313233
  1. // SPDX-FileCopyrightText: Copyright 2024 yuzu Emulator Project
  2. // SPDX-License-Identifier: GPL-3.0-or-later
  3. #include "core/hle/service/btm/btm_debug.h"
  4. namespace Service::BTM {
  5. IBtmDebug::IBtmDebug(Core::System& system_) : ServiceFramework{system_, "btm:dbg"} {
  6. // clang-format off
  7. static const FunctionInfo functions[] = {
  8. {0, nullptr, "AcquireDiscoveryEvent"},
  9. {1, nullptr, "StartDiscovery"},
  10. {2, nullptr, "CancelDiscovery"},
  11. {3, nullptr, "GetDeviceProperty"},
  12. {4, nullptr, "CreateBond"},
  13. {5, nullptr, "CancelBond"},
  14. {6, nullptr, "SetTsiMode"},
  15. {7, nullptr, "GeneralTest"},
  16. {8, nullptr, "HidConnect"},
  17. {9, nullptr, "GeneralGet"},
  18. {10, nullptr, "GetGattClientDisconnectionReason"},
  19. {11, nullptr, "GetBleConnectionParameter"},
  20. {12, nullptr, "GetBleConnectionParameterRequest"},
  21. {13, nullptr, "Unknown13"},
  22. };
  23. // clang-format on
  24. RegisterHandlers(functions);
  25. }
  26. IBtmDebug::~IBtmDebug() = default;
  27. } // namespace Service::BTM