
usbd hub descriptor() 2006, QNX Software Systems GmbH & Co. KG.
Get the hub descriptor for a specific (hub) device
Synopsis:
#include <sys/usbdi.h>
usbd
hub descriptor t *usbd hub descriptor(
struct usbd
device *device,
struct usbd
desc node **node );
Description:
The usbd hub descriptor() function lets you obtain a hub descriptor.
device An opaque handle used to identify the USB device.
node Indicates the descriptor’s location for rooting future
requests.
The
usbd hub descriptor t data structure looks like this:
typedef struct usbd hub descriptor {
uint8 bLength;
uint8 bDescriptorType;
uint8 bNbrPorts;
uint16 wHubCharacteristics;
uint8 bPwrOn2PwrGood;
uint8 bHubContrCurrent;
uint8 DeviceRemovable[1];
uint8 PortPwrCtrlMask[1];
} usbd
hub descriptor t;
Returns:
A pointer to usbd hub descriptor t on success, or NULL on
error.
Classification:
QNX Neutrino, QNX 4
60 Chapter 4 USB Library Reference November 2, 2006
Comentarios a estos manuales