-
Notifications
You must be signed in to change notification settings - Fork 585
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Question: FT232H with UWP? #2349
Comments
Can you explain your problem a bit clearer? You write "I've tried the sample code, and it works on a WinUI3 test app" and also " something's not allowing the UWP test app to properly connect to the FT232H". That is contradictory. Can you show what code you used and what did and what did not work? |
The above code works fine for a WinUI3 / WindowsAppSDK app. It does not work for a UWP app. Specifically, the device type reported is "UnknownDevice" with the UWP app vs. "FT232H" with the WinUI3 / WindowsAppSDK. |
As far as I remember, UWP requires to declare that you require to access specific hardware. For this, you need to follow the documentation: https://learn.microsoft.com/en-us/windows/uwp/packaging/app-capability-declarations |
I already had the above capabilities defined (prior to posting here). I also tried First, is there a way to be more definite if this is supposed to work on UWP? Second, if it is, what specific things do I need? I feel there's too many variables. |
@myokeeh you may want to have a look at the series of article here: https://learn.microsoft.com/en-us/windows-hardware/drivers/usbcon/writing-usb-device-companion-apps-for-microsoft-store there is maybe something more to setup for UWP. It's specific to USB devices, it seems that you need to specify more than you do, see: https://learn.microsoft.com/en-us/windows-hardware/drivers/usbcon/talking-to-usb-devices-start-to-finish#add-usb-device-capabilities-to-the-app-manifest |
I'm hopeful maybe this latest news helps in making this all work together. https://devblogs.microsoft.com/ifdef-windows/preview-uwp-support-for-dotnet-9-native-aot/ |
I've tried the following and still can't get it to work:
|
[Triage] @myokeeh At the moment, we don't have any immediate plans to look into better support for UWP as our current focus is on other priorities. We believe the issue is about the permissions and you'll need to explore this further to get this to work. Sorry we couldn't be of any more help and we'll close it since it's not actionable for us. If you have any findings please share it with us so that we can point other people with similar problems. Feel free to re-open if you have any more findings. |
@myokeeh one last thing to try, can you try this: <DeviceCapability Name="usb">
<Device Id="vidpid:0403&6014">
<Function Type="classId:ff * *"/>
<Function Type="name:vendorSpecific" />
</Device>
</DeviceCapability> The difference is in the device ID, it seems that the |
@Ellerbach, does not work with the ampersand.
|
@myokeeh then I really don't have any other idea! |
I have an app that for several reasons associated with Microsoft decisions, I cannot fully release as a WinUI3 / WindowsAppSDK app.
Is there a way to allow a UWP app to work with what's documented here: https://github.com/dotnet/iot/tree/main/src/devices/Ft232H?
I've tried the sample code, and it works on a WinUI3 test app, but something's not allowing the UWP test app to properly connect to the FT232H. It sees a device, but that's about as far as it gets.
The text was updated successfully, but these errors were encountered: