-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
Hello, developer.
I implemented a USB to dual virtual serial port using STM32, but they have the same name in the device manager, differing only by their port numbers. When I used the GUI tool, I found that it could only recognize one of my serial ports. It wasn't until I opened the source code of the GUI tool that I discovered an issue.

Here is around line 100 of the file <setup_window.py>. The descriptions of the serial ports, which are the names of my two serial ports, are used as the keys in a dictionary.Since the descriptions can easily be repetitive, if they are duplicated, the second serial port will overwrite the first one. I'm wondering why not use "sys_name," which is the obtained serial number, as the key instead?
Metadata
Metadata
Assignees
Labels
No labels