find_device_by_service_uuid

Function find_device_by_service_uuid 

Source
pub async fn find_device_by_service_uuid(
    service_uuid: Uuid,
    polling_attempts: u8,
    polling_interval: Duration,
) -> Result<(Adapter, Peripheral), String>
Expand description

Initializes the BLE manager, begins a scan targeting the provided service_uuid, and reliably polls until the peripheral is matched or bounds exhaust.