summaryrefslogtreecommitdiff
path: root/examples/device/hid_boot_interface
diff options
context:
space:
mode:
authorJerzy Kasenberg <[email protected]>2021-10-15 13:47:49 +0200
committerJerzy Kasenberg <[email protected]>2021-10-15 14:07:40 +0200
commit9a688224d0b19a7b4d33c8bb767d0486d5b1bccd (patch)
tree8fbe751c24d82d0b575fe7e0eb30cac44c5fddcf /examples/device/hid_boot_interface
parent4d0cf6135a352f9660af14c3fceb7fc0b930c7c6 (diff)
msc examples: Extend serial number to 12 digits
USB3CV tool complains about too short serial number being used in MSC device. This just extends serial number to 12 characters, it makes it easier to analyze USB3CV logs where this unnecessary warning made output red. Offending warning: Serial Number string for MSC device : iSerialNumber = 0x3 Checking iSerialNumber String Descriptor: index = 0x03. String Descriptor : "123456". (ENGLISH_US) Using Language ID 0x409 MSC Serial Number length = 14 Invalid MSC Serial Number length : should be >= 26 ************************* Invalid MSC Serial Number length ************************* ************************* (MSC: 5.1.2) Serial number must be a string, 12 characters or longer (if the device supports a BOT interface, bInterfaceProtocol = 0x50), or exactly 12 characters long (if the device supports a CBI interface, bInterfaceProtocol = 0x00 or 0x01, and has a serial number).
Diffstat (limited to 'examples/device/hid_boot_interface')
0 files changed, 0 insertions, 0 deletions