Getting the length of data transfer

I am using the usbd_descriptor () function to get descriptor data from a
USB device. How can I determine the length of the data transfer?

Rex Lam

Rex Lam <Rex.Lam@igt.com> wrote:

I am using the usbd_descriptor () function to get descriptor data from a
USB device. How can I determine the length of the data transfer?

The first byte of the returned descriptor data is the length (refer to
usb100.h).

Kevin Chiles <kchiles@qnx.com> wrote in news:b8u9mv$931$1@nntp.qnx.com:

Rex Lam <> Rex.Lam@igt.com> > wrote:
I am using the usbd_descriptor () function to get descriptor data
from a USB device. How can I determine the length of the data
transfer?

The first byte of the returned descriptor data is the length (refer to
usb100.h).

Thanks.