AnsweredAssumed Answered

STM32F107 USB device - Non standard endpoint request notification

Question asked by ln.thierry on Sep 4, 2012
Latest reply on Aug 7, 2015 by squires.daniel.001

I am trying to implement « USB Test & Measurement Class » on STM32F107 Microcontroler Familly.

I use the lastest librarie version « STM32 USB On-The-Go Host and Device Library » V2.0.0.

To have notification on usb setup stage, I had to modified the usbd_req.c file because the event (endpoint) from the host with an non standard request was ignored !

The librarie should check if bmRequest is an USB_REQ_TYPE_STANDARD, USB_REQ_TYPE_CLASS or USB_REQ_TYPE_VENDOR type.

I don't know if it's the best method, but if you have some tips, thank you in advance for your replies.

Best regards, Thierry