Skip to content
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

Sample Arduino code Port number is wrong for msgType MSG_TYPE_HID_INFO and MSG_TYPE_DEVICE_POLL #11

Open
alijani1 opened this issue Nov 24, 2020 · 1 comment

Comments

@alijani1
Copy link

alijani1 commented Nov 24, 2020

The Sample code always returns port 0 for the device regardless of which port the data is coming from. looks like "device" variable is offset byte 5 of msgbuffer but when msgType value is MSG_TYPE_HID_INFO or MSG_TYPE_DEVICE_POLL this is not correct. port ends up being 0 instead of values of 1 or 2.

I checked msgbuffer values and the first 11 header bytes are identical regardless of port the device is plugged into for these msgtypes. my devices descriptors dont have a report id so i cannot tell which port data is coming from. can you please assist?

@atc1441
Copy link
Owner

atc1441 commented Nov 24, 2020

Hey, thanks for the comment and issue on githun.
Unfortunately i can not help you right now with it as i would need to setup the whole system to check it
It is so long ago that i have it not in my mind anymore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants