2024-04-14 06:41 PM
hi, Can anyone please help me in USB-HID-Barcode Scanner connection with stm32f722ze. Normally Barcode Scanner will behave like keyboard and how to decode the ASCII code using usbh_hid_key.c . Request : if anyone can suggest me small example of usb barcode library .
2024-04-15 03:46 AM
Hello @MMARI.1
Keyboard specific functions added to your specific HID APIs help you to customize the class and handle barcode scanner. You need to properly parse the HID report descriptor of your barcode scanner structures representing the data items that the scanner reports, and then use HID_ReadItem to read the values of these items from the HID reports that the scanner sends. Honestly, I'm not the expert but maybe this can be helpful.
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.