(Note: This is for Acoustic Pianos only- please do not enter a digital piano Serial Number.) Please enter your serial number. Serial number length should be at least 6 characters.
Does exist an official documentation detailing the maximum length of the string descriptor that represents Manufacturer (or Product Name, Model Name, Device Name, Label, or Serial Number) of a USB device?
GianfrancoGianfranco
1 Answer
Any USB descriptor is limited to 255 bytes since the leading bLength field is one byte wide. The second byte is taken by the bDescriptorType. Because everybody* uses UTF-16-LE string encoding, that leaves a maximum of 126 characters.
*) Mandated by the USB 2.0 Unicode ECN in 2005 http://en.wikipedia.org/wiki/USB
Tormod VoldenTormod Volden