Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
GoogleCodeExporter opened this issue Jan 29, 2016 · 4 comments

Comments

@GoogleCodeExporter
Copy link

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
Copy link
Author

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
Copy link
Author


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
Copy link
Author

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
Copy link
Author

Issue 35 has been merged into this issue.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant