Serial Number Length

(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.

Serial Number Length

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.

Number

*) Mandated by the USB 2.0 Unicode ECN in 2005 http://en.wikipedia.org/wiki/USB

Serial
Tormod VoldenTormod Volden

Hp Serial Number Length

Not the answer you're looking for? Browse other questions tagged stringusbdeviceproduct or ask your own question.