2016-06-10 04:23 AM
Hello,
In HAL USB_Device class library function (usbd_customhid.c) USBD_CUSTOM_HID_Setup() not exist case CUSTOM_HID_REQ_GET_REPORT(bug or not?), but in usb spec GET_REPORT must be realized. Could you recommend right steps for working with CustomHID USB device class?And may be exist appnote for it? #custom-usb-hid2016-06-10 05:04 AM
Hipanov.roman,
I confirm that theCUSTOM_HID_REQ_GET_REPORT is not exist inusbd_customhid.c You can refer this with same issue and the implementation of CUSTOM_HID_REQ_GET_REPORT in this ,it may be helpful. Regards2016-06-10 06:42 AM
Hi forumstm32,
But what the reason why case CUSTOM_HID_REQ_GET_REPORT not include into usbd_customhid.c if in spec it must be for Setup report? And will be CutomHID_Standalone example work correctly with stm32 host driver?2016-06-13 02:30 PM
Hi panov.roman,
CUSTOM_HID_REQ_GET_REPORT is not implemented by ST.
So, we would suggest ST adding this function and include it into usbd_customhid.c Regards2016-06-14 02:51 AM
Hi,
Please note that this request is reported internally and it is under review.-Mayla-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.
2016-07-17 02:44 PM
Hello Mayla, the custom HID example from CubeMX USB middleware is NOT enumerating to Windows (which just complains about the device descriptor request failed), as you can see in attached picture. I am wondering if this might be due to the ill-formed CUSTOM_HID_ReportDesc_FS. From what I read in USB Complete, 4th Edition, the 2 bytes (the last byte being ''end collection'') you have as a descriptor is ill-formed. Please find my steps to get to this point in my
http://henryomd.blogspot.com/2016/07/usb-hid-on-stm32f042.html
.2017-05-26 07:48 AM
Hello Panov, I'm having the same problem. Did you solve this issue?
Thank you.
Fernando
2017-05-26 09:38 AM
Hello, I cannot access the link with the thread solving this issue. Can you tell me please where I can find the solution for this please? I need not only to transmit data via HID, but also to receive data. Thank you for you help.