smartspaces-io / bluecove

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

Device discovery detects devices that are not there #51

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run a device discovery 
      final DiscoveryAgent agent = localDevice.getDiscoveryAgent();
      agent.startInquiry(DiscoveryAgent.GIAC, myDeviceDiscoverer);
2. Observe a bunch of bluetooth devices appear (myDeviceDiscoverer will
print  their IDs on stdout).
3. Run 1-2 in a loop.
3. Then switch off one of the devices, and notice that it is still
   listed as a discovered device.

What is the expected output? What do you see instead?

 I expected the device that was switched off not to be seen.

What BlueCove version are you using (include build number for SNAPSHOT)? On
what operating system and jvm? Is this 64-bit or 32-bit OS and jvm?

  Bluecove-2-0-3
  Windows XP professional, verison 2002, SP 3.  
     Intel Core 2 CPU 6600. 2.4GHz, 3.25G of RAM
  java -version
     java version "1.6.0_07"
     Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
     Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)

Please provide any additional information below.

Original issue reported on code.google.com by la3...@gmail.com on 2 Nov 2008 at 11:34

GoogleCodeExporter commented 8 years ago
Update: The device in question was a device that was paired with the workstation
running the discovery.  When I unpaired the device, it was no longer 
discovered.  The
unpairing happnened while the device was switched off.

Original comment by la3...@gmail.com on 2 Nov 2008 at 11:41

GoogleCodeExporter commented 8 years ago
This is known bug for MS stack.
There is no known solutions for this.

This is documented in Limitations section here:
http://code.google.com/p/bluecove/wiki/stacks

Original comment by skarzhev...@gmail.com on 22 Dec 2008 at 8:20