Function find_device

Source
pub async fn find_device(identifier: &str) -> Result<(Adapter, Peripheral)>
Expand description

Find a device by its address, identifier or full name.

identifier is trimmed and case is ignored, but otherwise it must match one of these exactly:

An address or identifier match wins over a name match.

The device is searched for as find_device_with_options describes, with the default ScanOptions.

§Errors