-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Leading zero missing in TrezorExample? #221
Comments
OK it's an extra byte for HID Report ID for HID transfers as discussed here... Might be worth a comment in TrezorExample.cs to nudge USB novices in the right direction? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The example code in https://github.com/MelbourneDeveloper/Device.Net#example-code has a leading zero added to the buffer...
but the source code sample does not...
Device.Net/src/Usb.Net.UWP.Sample/TrezorExample.cs
Lines 85 to 89 in 417330e
For my usb hid device on Windows 10, I needed to add the leading zero to get it working.
I'm new to USB development, so found this quite confusing - WriteAndReadAsync() just blocks and never returns.
The text was updated successfully, but these errors were encountered: