Logo Search packages:      
Sourcecode: nut version File versions  Download package

Public Attributes

USBDevice_s Struct Reference

#include <usb-common.h>

List of all members.

Public Attributes

char * Bus
char * Product
uint16_t ProductID
char * Serial
char * Vendor
uint16_t VendorID

Detailed Description

USBDevice_t: Describe a USB device. This structure contains exactly the 5 pieces of information by which a USB device identifies itself, so it serves as a kind of "fingerprint" of the device. This information must be matched exactly when reopening a device, and therefore must not be "improved" or updated by a client program. Vendor, Product, and Serial can be NULL if the corresponding string did not exist or could not be retrieved.

Definition at line 37 of file usb-common.h.

The documentation for this struct was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index