mbahar94 / qextserialport

Automatically exported from code.google.com/p/qextserialport
Other
0 stars 0 forks source link

Already opened USB serial ports not filtered (Windows) #98

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. using cheap BIGtec Big112 USB to serial converters (Prolific PL-2303 
replica) under WinXP

2. opening one of the COM ports (with polling) in one QextSerialPort 
application and waiting for input

3. calling QextSerialEnumerator::getPorts() every second in another 
QextSerialPort application and updating combo box if changed

What is the expected output? What do you see instead?
expected: The already opened port should disappear from the list.
seen: The port is still shown in the list and reports an error when trying to 
open it again.

What version of the product are you using? On what operating system?
v1.2, Qt 4.7.3, WinXP SP3

Please provide any additional information below.
I've read that WM_DEVICECHANGE only works for a small number of USB to serial 
converters.
I've got the USB to serial converters connected via nullmodem cable. One app is 
faking a Tektronix 4050 DMM and the other obtains DC volt values from it. 
Online attaching/detaching works, communication works if the correct COM ports 
are used.

Original issue reported on code.google.com by s.parsch...@gmx.de on 22 Jun 2011 at 8:26

Attachments: