Hi,
I´m trying to enable the string descriptor in the audio framework demo that comes with the eZdsp to be able to give the device a product name in windows. In the demo code the string descriptor is not used.
I´m using the following descriptors:
const Uint16 stringLanId[STRING_LAN_ID_SZ] =
{
0x0000, 0x0304, 0x0409, 0x0000
};
const char *string_descriptor[STRING_DESCR_SZ] =
{
" ", /* This will eventually point to the string descriptor */
" man", /* iManufacturer */
" prod", /* iProductName */
" ser", /* iSerial No :RomId - F# */
" int", /* iInterface - Audio Class */
NULL
};
These are then combined in AC_Open, where the stringLanId pointer is places first in the string descriptor.
I also change the device descriptor to use strings for iManufactutrer, iProduct and iSerialNumber, however this only results in "Code 10" that the USB-device could not start.
Are there more modifications of the demo code I have to do to make this work?
Thanks, Marcus