pub async fn scan_for_devices() -> Result<Vec<DiscoveredDevice>>Expand description
Scan for Aranet devices in range.
Returns a list of discovered devices, or an error if the scan failed. An empty list indicates no devices were found (not an error).
ยงErrors
Returns an error if:
- No Bluetooth adapter is available
- Bluetooth is not enabled
- The scan could not be started or stopped