mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Define BluetoothPairing API for Nearby Platform Library and add implementation on Windows platform
PiperOrigin-RevId: 528510444
This commit is contained in:
committed by
Copybara-Service
parent
46e4b3eca7
commit
e46bfb52d0
@@ -271,6 +271,12 @@ BluetoothClassicMedium::ListenForService(const std::string& service_name,
|
||||
return socket;
|
||||
}
|
||||
|
||||
std::unique_ptr<api::BluetoothPairing> BluetoothClassicMedium::CreatePairing(
|
||||
api::BluetoothDevice& remote_device) {
|
||||
// TODO(b/279964840): Add g3 implementation for BluetoothPairing.
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
api::BluetoothDevice* BluetoothClassicMedium::GetRemoteDevice(
|
||||
const std::string& mac_address) {
|
||||
auto& env = MediumEnvironment::Instance();
|
||||
|
||||
Reference in New Issue
Block a user