Function libftd2xx::rescan[][src]

pub fn rescan() -> Result<(), FtStatus>
This is supported on Windows only.

Rescan devices on the system.

This function is available on Windows only.

This can be of used when trying to recover devices programatically.

Calling rescan is equivalent to clicking the "Scan for hardware changes" button in the Device Manager. Only USB hardware is checked for new devices. All USB devices are scanned, not just FTDI devices.

Example

libftd2xx::rescan()?;