P
Paolino
I have this problem.
I wrote an application for Windows OS that shows to the user which
serial ports are available on his local machine.
When i wrote the code i used the method of Java Communication Api
"javax.comm.CommPortIdentifier.getPortIdentifiers()" to get an
Enumaration cointainig all the ports present on the system.
My application should also show the virtual serial ports created by the
dongle bluetooth's driver during the running of my application.
In fact my application has a fetaure that should allow the refresh of
the ports present on local machine. This feature was implemented
recalling javax.comm.CommPortIdentifier.getPortIdentifiers() but this
method does't see the new ports created.
If i restart my application, the new ports are shown correctly.
Can someone say me how to resolve my problem?
Thanks
Paolo
I wrote an application for Windows OS that shows to the user which
serial ports are available on his local machine.
When i wrote the code i used the method of Java Communication Api
"javax.comm.CommPortIdentifier.getPortIdentifiers()" to get an
Enumaration cointainig all the ports present on the system.
My application should also show the virtual serial ports created by the
dongle bluetooth's driver during the running of my application.
In fact my application has a fetaure that should allow the refresh of
the ports present on local machine. This feature was implemented
recalling javax.comm.CommPortIdentifier.getPortIdentifiers() but this
method does't see the new ports created.
If i restart my application, the new ports are shown correctly.
Can someone say me how to resolve my problem?
Thanks
Paolo