Hi,
this is a bit of a generis USB-question but may be somebody knows...
I'm developing firmware for a controller which is connected via USB and appears as serial interface on host system. Here operating system assigns a number to the interface (e.g. COM4 or /dev/ttyACM0). Now user could connect more than one controller to this system, which would lead to several new serial interfaces.
My question: how can I avoid the assignment between a specific serial interface and an controller is exchanged after next restart of host system? Would be a unique serial number in USB descriptor helpful here? Or what else is used by operating systems to identify a controller when vendor and product ID are the same for all of them?
Or in other words: I try to ensure the same controller is always assignet to the same serial interface number on every start-up.
Thanks!