Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting String Descriptors in Mac OS X User-land



Hi,
I am writing a program that lists all of the devices attached to the computer via usb and details about them (similar to USBProber) so that people can choose the device they have designed containing a FTDI232BM USB to Serial chip and program their vendor id, product id and other information into the onboard EEPROM.


So far I have obtained the list of all of the devices on the bus and from them most of the information I need but I also want to get the Manufacturer, Product and Serial Number strings.

So far I have got the string indicies for the 3 strings but I don't know what to do next. I have looked at the docs on the developer website but I have only found how to do it from within the kernal. How do I, from my carbon app written in C, obtain a copy of the strings?

  Thanks for any help,

  Regards,

  Ashley

========================================================
Ashley Butterworth
BLUEsat Project
Website:        http://www.bluesat.unsw.edu.au/
Email:          email@hidden
Mobile:         0403-979-560
BLUEsat Office: +61 (0)2 9385-4498
BLUEsat Fax:    +61 (0)2 9385-5993
========================================================
_______________________________________________
usb mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/usb
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.