wfinken

Results 7 comments of wfinken

@Sunbreak Are you able to approve this merge request?

Updated dependencies and code accordingly with new dependency versions.

I can see the devices. I just can't open them. And I'm trying to build on Windows/Macos/Linux. Output of the above function in log: ``` [log] device: 22348 : 56528...

The errors in the code indicate an issue with ffi. libubs.ffigen.dart (~200 repeats of the below error) ![image](https://user-images.githubusercontent.com/891256/182995928-36f1d5b5-e4f8-4c6c-9ddc-f8366d304b88.png) Libusb_base.dart (2 errors displayed below) ![image](https://user-images.githubusercontent.com/891256/182996009-e9b35f41-927e-40a0-8dc2-dd278f531924.png)

Added the flutter path to the settings and still have the same errors in VSCode and trying to run with `flutter pub run .\example\main.dart` or `flutter pub run .\example\listDeviceProducts.dart` results...

If I change `import 'package:ffi/ffi.dart' as pkg_ffi;` to `import 'package:dart/ffi' as pkg_ffi` the code executes fine with output below. ``` PS C:\Users\wfink\Documents\flutterapps\libusb.dart> flutter pub run .\example\listDeviceProducts.dart 1235:801c open error: LIBUSB_ERROR_NOT_SUPPORTED...

Let me know if you need me to do any additional testing. I'm not sure this is going to work for what I want anyway but I'm hoping it will....