2023-06-19 02:28 AM
Good morning,
I add a Custom Hid Device do my STM32H503 Project. In the USBD_Custom_HID_GetReport function, I get
hid_event->ux_device_class_hid_event_report_id == INFO_GET_FW, but how can I send some Bytes back to the PC?
Something like USBD_CUSTOM_HID_SendReport(SendBuffer, 2)... I can not find any example?
Best, Klaus
2023-06-19 03:08 AM
Hi @K.Herpich, please refer to this application example running on stm32h743i-eval, showing how to use CustomHID with USBX.
Regards,
Mohamed
2023-06-20 12:45 AM
Hi,
I have the similar request as above, but I don't want to implement the USBX because my project is not a complicate project. I just need the old style USB_Device library or HID_Alone project for example. The current STM32H5 firmware package does not provide the USB_Device library. Will the STM32H5 the package provide it in the future ? If not, can I reference to any other MCU packages ?