I have a project based on the USB_FS example that has a HID descriptor that describes an input and a feature report. This is a HID compliant custom device.
There is support to send the input reports using EP1+, using USBFS_LoadInEP, but not to send the feature report, which should be sent on EP0. I did some searches on this that yielded results from 5 years or more back saying there is no way to do this, but it is being worked on.
So, what is the current state? Is there a way to do this? This seems like a fairly common usage of HID, so I'm surprised if it is not implemented.
Thank you, but this does not answer my question. Although, I think I have a workaround. I created a USBFS project that had a feature report in the descriptor, and saw that it created some buffers for the feature report. I simply modified the buffer using static initialization values.
Can you describe what GUI or api I can use to modify the feature report data at runtime? For example, input reports can use USBFS_LoadInEP. Say I have a feature report that contains polling update rate in milliseconds - If I wish to update the feature report data after the initial report that is handled by Get_ReportRequest, (for example, change the ms polling rate from 100 ms in the initial feature report down to 10ms), what should I do?