View previous topic :: View next topic |
Author |
Message |
alexz
Joined: 17 Sep 2004 Posts: 133 Location: UK
|
Landuage ID (String0 Descriptor) |
Posted: Mon Oct 18, 2004 9:07 am |
|
|
Talking about the USB design, String zero descriptor.
Where can I get the table of language codes like for example:
Supported Language Code Zero
(e.g. 0x0409 English - United States)
Supported Language Code One
(e.g. 0x0c09 English - Australian)
I need other languages as well.
And another question, if I can:
in the CCS example code of USB,
why there is '0' defined after every character in string descriptors,
which makes the lengths of strings almost twice longer?
Thanks a lot _________________ Alex |
|
|
bfemmel
Joined: 18 Jul 2004 Posts: 40 Location: San Carlos, CA.
|
|
|
Guest
|
|
Posted: Tue Oct 19, 2004 1:51 am |
|
|
Did you read the USB spec about this subject
In paragraph 9.6.7 of USB Specification v2.0, the list of LANGID's is mentoined. |
|
|
alexz
Joined: 17 Sep 2004 Posts: 133 Location: UK
|
|
Posted: Tue Oct 19, 2004 1:55 am |
|
|
Yes, I have found it now, thank you.
Does anybody know what exactly the string indexes are in the device descriptor field?
And how it works with strings you define?
I have seen in the CCS example, those are defined as 1,2,0.
What does it mean? How can it point to strings? _________________ Alex |
|
|
|