Describe the issue
There was a problem when I connected an Android device. It cannot be initialized. Because the capacity of the device is more than 100g?
Your Code
var DeviceManager = new FilterDeviceDefinition().CreateWindowsUsbDeviceFactory(Loggers._loggerFactory, classGuid: WindowsDeviceConstants.WinUSBGuid);
var devices = await DeviceManager.GetConnectedDeviceDefinitionsAsync();
if (devices.Any())
{
_connectedDevice = devices.FirstOrDefault();
_device = await DeviceManager.GetDeviceAsync(_connectedDevice);
await _device.InitializeAsync();
}
Describe the issue There was a problem when I connected an Android device. It cannot be initialized. Because the capacity of the device is more than 100g?
Your Code
Log / Stack Trace [10:24:50 INF] Getting device for connected device Device Id: \?\usb#vid_2d95&pid_6013&mi02#7&34ced257&1&0002#{dee824ef-729b-4a0e-9c14-b7117d33a817} Label: Vid: 11669 Pid: 24595 Read Buffer Size: Write Buffer Size: Manufacturer: Product Name: [10:24:50 ERR] Couldn't initialize device. Device.Net.Exceptions.ApiException: Device handle no good. Error code: 5 at Usb.Net.Windows.WindowsUsbInterfaceManager.Initialize() in //src/Usb.Net/Windows/WindowsUsbInterfaceManager.cs:line 71 at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
Info