Function libftd2xx::rescan

source ·
pub fn rescan() -> Result<(), FtStatus>
Available on Windows only.
Expand description

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()?;