I'm trying to setup Custom HID. I'd like to use an output- and input Buffer.
I have managed to setup the descriptors. I think i have done that right: Windows is correct enumerating my device.
On the other side I got a C# HID API. The Initialisation works, the HID descriptors are successfully exchanged (Output Buffer Size, Input Buffer Size are correctly recognised).
However when I try to send to send/receive message the sending/receiving fails.
in the usbd_custom_hid.c the is an USBD_ClassTypeDef USBD_CUSTOM_HID which contains pointer to serveral functions
USBD_ClassTypeDef USBD_CUSTOM_HID =
USBD_CUSTOM_HID_EP0_RxReady, /*EP0_RxReady*/ /* STATUS STAGE IN */
NULL, /*SOF */
However these functions are never called. I tried calling the USBD_CUSTOM_HID_Init function manually but this did not solve the problem.
Could you help me out what to do with this ClassTypedef?