Cleanup BLEv2Medium

PiperOrigin-RevId: 753288576
This commit is contained in:
Francis Tsui
2025-04-30 13:24:55 -07:00
committed by Copybara-Service
parent 467e64c812
commit 541bffc858
11 changed files with 113 additions and 71 deletions
@@ -25,10 +25,12 @@
#include <utility>
#include "absl/functional/any_invocable.h"
#include "absl/strings/string_view.h"
#include "internal/platform/implementation/bluetooth_adapter.h"
#include "internal/platform/implementation/windows/generated/winrt/Windows.Devices.Bluetooth.h"
#include "internal/platform/implementation/windows/generated/winrt/Windows.Devices.Radios.h"
#include "internal/platform/implementation/windows/generated/winrt/base.h"
#include "internal/platform/mac_address.h"
namespace nearby {
namespace windows {
@@ -83,6 +85,8 @@ class BluetoothAdapter : public api::BluetoothAdapter {
// Returns BT MAC address assigned to this adapter.
std::string GetMacAddress() const override;
MacAddress mac_address() const;
// Returns bluetooth device name from registry
std::string GetNameFromRegistry(PHKEY hKey) const;