In DMA Callback, we have provision to add UVC header, if required.
Can you please specify what is the purpose of control data sending to host PC?
How frequent do you want to send control data to host along with the video data?
Thanks for your reply,
Purpose of control data:
We have to send the key press event to the Host PC and then to some changes on software side on this event.
How frequently do you want to send:
We have to send this 2 bytes of data once in a second at particular time.
Any update on this.
We cannot send any additional data with the video data.
Your requirement is communicating the key press to host. This can be done using Interrupt endpoint.
When the key is pressed setup a flag, if the flag is set, send the required data to host via interrupt endpoint.