Please refer to CyStreamer firmware (C:\Cypress\Cypress Suite USB 3.4.7\Firmware\CyStreamer) that comes with Cypress SuiteUSB. It has all the things that you are looking for.
SuiteUSB can be found in the following location:
Thanks for an answer, but I probably didn't give all the information.
I need to support this functionality on the FX3 hardware and with FX3 framework
I thought you were interested about FX2LP as you created this thread in the USB High-Speed Peripherals section.
Currently, we don't have any example code to address your needs. But still, you can use the same example code "CyStreamer" as a reference.
Take the “USBBulkLoopAutoEnum” example code from the FX3 SDK as it shows how to handle all the standard requests. Modify the “USBBulkLoopAutoEnum” example code similar to the way the requests are handled in the "CyStreamer" firmware.