raoying / pybluez

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

No adapter detected - WP8.1 #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use code from Inquiry.py example
2. returns line 89, in handleBroadcast
    nearby_devices = bluetooth.discover_devices(lookup_names = True)
  File "C:\Python27\lib\site-packages\bluetooth\msbt.py", line 9, in discover_devices
    return bt.discover_devices (flush_cache, lookup_names, lookup_class)
IOError: No Bluetooth adapter detected

What is the expected output? What do you see instead?
The expected output is that the bluetooth adapter is found. It is included on 
the Microsoft bluetooth stack (At hardware>devices it says Microsoft Bluetooth 
Enumerator)

What version of the product are you using? On what operating system?
PyBluez-0.20 (win32) for Python 2.7
Python 2.7
Windows 8.1

Please provide any additional information below.
No clue whatsoever why the adapter isn't visible for pyBluez.

Original issue reported on code.google.com by Solouwma...@gmail.com on 1 Oct 2014 at 12:11

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Is this the only BT device on list in device manager?
Can You list nearby BT devices from Windows 8.1 gui?
After You list BT devices from windows GUI, is there still problem with 
Inquiry.py example?

I just reproduced this issue, but after listing nearby BT devices from windows 
gui everything started to work.
So it looks like some kind of WP8.1 feature/bug
Anyway I will try to find some solution

Original comment by karu...@wp.pl on 6 Oct 2014 at 8:20

GoogleCodeExporter commented 8 years ago
It was working on mine. Windows 8.1, Python 2.7 
And now it doesnt anymore. 

Original comment by kycal...@gmail.com on 30 Apr 2015 at 5:33