mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Added BLE v2 peripheral
PiperOrigin-RevId: 509962831
This commit is contained in:
committed by
Copybara-Service
parent
fc1811f966
commit
d41c26dd24
@@ -30,16 +30,11 @@
|
||||
namespace nearby {
|
||||
namespace windows {
|
||||
|
||||
class BleV2Peripheral : public api::ble_v2::BlePeripheral {
|
||||
public:
|
||||
std::string GetAddress() const override;
|
||||
};
|
||||
|
||||
// Container of operations that can be performed over the BLE medium.
|
||||
class BleV2Medium : public api::ble_v2::BleMedium {
|
||||
public:
|
||||
explicit BleV2Medium(api::BluetoothAdapter& adapter);
|
||||
~BleV2Medium() override;
|
||||
~BleV2Medium() override = default;
|
||||
|
||||
// Returns true once the Ble advertising has been initiated.
|
||||
bool StartAdvertising(
|
||||
|
||||
Reference in New Issue
Block a user