Skip to main content

scan

Function scan 

Source
pub async fn scan(timeout: Duration) -> Result<Vec<DiscoveredBleAccessory>>
Expand description

Scan for HAP accessories advertising over BLE for timeout.

ยงErrors

Returns BleError::Backend on adapter/scan failures.