Title: Re: Access to the strings indexed by the
IOUSBDeviceDescri
To get a string, you use the standard device requests
(GET_DESCRIPTOR) described in the USB spec, chapter 9.
Your code to do that might look something like (not tested, top of my
head, be on the lookout for possiblebyte-swapping issues in the
wValue/wIndex fields):
err =
(*dev)->DeviceRequest(dev, &req);
if (kIOReturnSuccess == err)
{
// mybuf now contains the string descriptor
}
At 4:23 PM -0400 4/19/05, Don Clark wrote:
I'd like to access
the strings referenced by the iManufacturer, iProduct and
iSerialNUmber members of the IOUSBDeviceDescriptor object, but cannot
find any reference to a method to do this in the set of USB header
files (usb.h, iousblib.h, etc). Could someone point me in the
right direction? Thanks in advance
Don Clark
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list
(email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden
This email sent to email@hidden