mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-16 15:36:12 -04:00
Harden ble v2 gatt server
PiperOrigin-RevId: 567069079
This commit is contained in:
committed by
Copybara-Service
parent
1e5587e2db
commit
7bde3abf8b
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user