Ports and Interfaces > USB

Serial numbers

(1/4) > >>

kittu:
hi..

can you please tell me how would your Each devices reports a unique
serial number during USB enumeration.

thank you

Jan Axelson:
Place a serial number in a string descriptor and specify it in the device descriptor.

Jan

kittu:
reply to,
Place a serial number in a string descriptor and specify it in the device descriptor.
Jan

hi..

serial no is in string descriptor which should be hard coded in the firmware

so how serial no will change with every device?

in my case i use same firmware for all devices so serial no should be same for my all devices

so on what bases i will going to differentiate two devices from each other ?

thank you

Jan Axelson:
Note that I split this off from the other unrelated topic.

If you can't store unique serial numbers, don't use them.

If I recall correctly, your devices are HIDs. Each HID will get a unique handle. The serial numbers just give you a way to identify a specific device among multiple, otherwise identical devices after power down, reboot, or remove and reattach.

Jan

Guido Koerber:
Putting a serial number into a device should not be that much of a problem. We do have multiple controllers that have unique serial numbers. What kind of device do you need? Maybe we have some product that would fit.

Navigation

[0] Message Index

[#] Next page

Go to full version