On Tuesday 15 November 2011 21:54:06 Marcus von Appen wrote: > struct usb_ctl_report { > int ucr_report; > u_char ucr_data[1024]; > }; Hi, Before the descriptor length was limited to 1024 bytes. Now it is limited to 65535 bytes, which is the USB maximum for control endpoints. Having a buffer this large by default does not make sense, so a pointer and length is the best solution. The application also sometimes know about what descriptor size(s) it expects. --HPSReceived on Tue Nov 15 2011 - 20:17:32 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:20 UTC