This commit is contained in:
Daniel Pollithy
2017-08-31 14:55:57 +02:00
parent 101afc9097
commit bb3f7ca41f
+1 -1
View File
@@ -147,7 +147,7 @@ def protocol(address):
def run():
connecting = True
while connecting:
nearby_devices = bluetooth.discover_devices(duration=1, flush_cache=False)
nearby_devices = bluetooth.discover_devices(duration=8, flush_cache=False)
print("found %d devices" % len(nearby_devices))
for address in nearby_devices: