Hello,
I am facing a problem using "Serial Port" component. Everything works very well while no Bluetooth com port exists.
On Windows, if there is a Bluetooth port that is not connected to a device, there can be a long (30 sec or more) pause when the port is accessed in a loop like this:
for i=0 to System.SerialPortCount-1
PortList.AddRow System.SerialPort(i).Name
next
The goal is to listen all com ports during 500ms to discover where (and if) my device is pugged in and begin to deal with. But, when a Bluetooth com port exists (and is not connected to the paired device) every accesses to the "System.SerialPort" object freeze all the application even in a thread! So, in one word : help...
I read some information about this problem on
this topic, but no solution had been found.
I am really stuck. Someone would have an idea or an advice?
Thanks