You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. subclass DeviceDiscoverer
2. call find_devices
3.
What is the expected output? What do you see instead?
I subclassed DeviceDiscoverer with device_discovered implemented with a
simple print of the address but nothing appens. The same with
inquiry_complete, it is never called
What version of the product are you using? On what operating system?
I'm using 0.15 on Linux Debian etch
Please provide any additional information below.
#!/usr/bin/env python
from bluetooth import DeviceDiscoverer
import time
class BlueZone(DeviceDiscoverer):
def __init__(self):
DeviceDiscoverer.__init__(self)
def device_discovered(self, address, device_class, name):
print "%s - %s" % (address,name)
def inquiry_complete(self):
print "COMPLETED"
print "START"
bz = BlueZone()
bz.find_devices(True,8,True)
print "PAUSE"
time.sleep(120)
print "STOP"
Original issue reported on code.google.com by webfr...@gmail.com on 29 Sep 2008 at 11:06
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
webfr...@gmail.com
on 29 Sep 2008 at 11:06The text was updated successfully, but these errors were encountered: