mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Cleanup BLEv2Medium
PiperOrigin-RevId: 753288576
This commit is contained in:
committed by
Copybara-Service
parent
467e64c812
commit
541bffc858
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user