Duplicate Devices Showing after Server Disconnect & Recon.

Supporting Java SE version 7 and up
RobOrt
Phidgeteer!
Posts: 85
Joined: Wed Jun 17, 2009 11:39 am
Contact:

Duplicate Devices Showing after Server Disconnect & Recon.

Postby RobOrt » Fri Jul 08, 2011 6:08 am

Hi,

When using the WebPhidget server on my SBC I've noticed that I get duplicate devices reported when I call Manager.getPhidgets() AFTER a server has disconnected then reconnected. I do not destroy the PhidgetManager when the server disconnects so it automatically reconnects once the Server is available. It is after this point that the PhidgetManager will report duplicate devices attached.

I'm simulating the sever disconnecting/connecting by rebooting my SBC and my library version is 2.1.7. Am I doing something wrong?

User avatar
Patrick
Lead Developer
Posts: 3177
Joined: Mon Jun 20, 2005 8:46 am
Location: Canada
Contact:

Re: Duplicate Devices Showing after Server Disconnect & Reco

Postby Patrick » Fri Jul 08, 2011 9:03 am

This bug has been fixed in the latest libraries.

-Patrick

RobOrt
Phidgeteer!
Posts: 85
Joined: Wed Jun 17, 2009 11:39 am
Contact:

Re: Duplicate Devices Showing after Server Disconnect & Reco

Postby RobOrt » Fri Jul 08, 2011 12:24 pm

Thanks Patrick.


Return to “Java”

Who is online

Users browsing this forum: No registered users and 1 guest