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

Only Receiving the Second HID Report from 2D Barcode Scanner #114

Open
keith-tingle opened this issue Feb 2, 2020 · 1 comment
Open

Comments

@keith-tingle
Copy link

keith-tingle commented Feb 2, 2020

First off all, thank you for creating this library, its been very helpful.

I am integrating my WPF application with a 2D barcode scanner.

I am scanning 2D barcodes off of CACs. For most of the cards it will take 2 (64 byte) HID reports to fully read the data.

When I attempt to use HIDLibrary (or just ReadFile() in a dumded down simple console app), I get a valid HID report, exactly as the vendor documentation specifies, but its the second HID report. I never get the first HID report.

When I scan a barcode into Notepad++, all of the data appears as expected. I cannot leverage this however because in some cases the data is not ASCII characters. I need to use HIDLibrary. What I am doing wrong?

image

@flamingskullz
Copy link

Was this device an Access-IS triptick by any chance?

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