heihei1252 / pybluez

Automatically exported from code.google.com/p/pybluez
GNU General Public License v2.0
0 stars 0 forks source link

Paired devices are always returned by bluetooth.discover_devices() even if not in range. (msbt stack only) #24

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use any bluetooth device that works with msbt stack
2. Pair it with another device (phone, etc) with the OS wizards. Once
paired it will appear in the Devices tab in the bluetooth settings window.
3. Turn off bluetooth on the other device (phone, etc)
4. Execute bluetooth.discover_devices()

What is the expected output? What do you see instead?
Expecting to see *only* the list of devices in range. Instead, the list
also contains all paired devices no matter if they are in range or not.

What version of the product are you using? On what operating system?
PyBluez-0.18.win32-py2.6 with python 2.6.4 tested both on Windows XP/SP3
and Windows 7

Please provide any additional information below.
Also tried flush_cache=True/False - makes no difference. If I use the
widcomm stack then only devices in range are returned (as epxected!)

Original issue reported on code.google.com by htren...@gmail.com on 3 Dec 2009 at 12:37

GoogleCodeExporter commented 9 years ago
Well, I can confirm this "misbehaviour" with a similar enviroment of 
Windows XP + SP2, 
"Python 2.6.4 (r264:75708, Oct 26 2009, 08:23:19) [MSC v.1500 32 bit (Intel)] 
on 
win32", and 
"PyBluez-0.18.win32-py2.6"
- but did not yet try another bt stack for comparison

Original comment by Hartmut....@googlemail.com on 10 Dec 2009 at 12:59

GoogleCodeExporter commented 9 years ago

I can confirm the same symptom on my setup too.
Windows 7 Ultimate (64bit)
Generic BT Adapter (Microsoft Driver 6.1.7600.16385)

ActivePython 2.6.4.8 (ActiveState Software Inc.) based on
Python 2.6.4 (r264:75706, Nov  3 2009, 13:23:17) [MSC v.1500 32 bit (Intel)] on
win32

Original comment by matt.jo...@gmail.com on 2 Jan 2010 at 10:39

GoogleCodeExporter commented 9 years ago
Confirmed on Windows 7 x86, with Broadcomm BT-253.

Python 2.6.5 / pybluez 0.18

Original comment by aron...@gmail.com on 11 Oct 2010 at 9:31

GoogleCodeExporter commented 9 years ago
Issue 35 has been merged into this issue.

Original comment by karu...@wp.pl on 16 Jan 2014 at 10:44