![]() |
![]() |
![]() |
![]() |
![]() |
This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Get or set USB descriptors
#include <sys/usbdi.h>
int usbd_descriptor( struct usbd_device *device,
int set,
_uint8 type,
_uint16 rtype,
_uint8 index,
_uint16 langid,
_uint8 *desc,
size_t len );
libusbdi
The usbd_descriptor() function lets you obtain the USB descriptors.
| Safety: | |
|---|---|
| Cancellation point | Yes |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |
usbd_feature() usbd_io(), usbd_parse_descriptors(), usbd_setup_bulk(), usbd_setup_control(), usbd_setup_interrupt(), usbd_setup_isochronous(), usbd_setup_vendor(), usbd_status()
![]() |
![]() |
![]() |
![]() |