Harden ble v2 gatt server

PiperOrigin-RevId: 567069079
This commit is contained in:
Aaron Yu
2023-09-20 13:48:56 -07:00
committed by Copybara-Service
parent 1e5587e2db
commit 7bde3abf8b
5 changed files with 133 additions and 2 deletions
@@ -98,6 +98,16 @@ class BluetoothAdapter : public api::BluetoothAdapter {
// Returns true if the Bluetooth hardware supports Bluetooth 5.0 Extended
// Advertising
bool IsExtendedAdvertisingSupported() const;
// Returns true if the Bluetooth hardware supports BLE Central Role
bool IsCentralRoleSupported() const;
// Returns true if the Bluetooth hardware supports BLE Peripheral Role
bool IsPeripheralRoleSupported() const;
// Returns true if the Bluetooth hardware supports BLE
bool IsLowEnergySupported() const;
void RestoreRadioNameIfNecessary();
private: