Added BLE v2 peripheral

PiperOrigin-RevId: 509962831
This commit is contained in:
Guogang Li
2023-02-15 16:29:11 -08:00
committed by Copybara-Service
parent fc1811f966
commit d41c26dd24
6 changed files with 150 additions and 10 deletions
@@ -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(