You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: