We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 294e731 commit 50afe1aCopy full SHA for 50afe1a
docs/troubleshooting.rst
@@ -103,9 +103,9 @@ Python::
103
from bleak.backends.device import BLEDevice
104
105
106
- async def find_all_devices_services()
+ async def find_all_devices_services():
107
scanner = BleakScanner()
108
- devices: Sequence[BLEDevice] = scanner.discover(timeout=5.0)
+ devices: Sequence[BLEDevice] = await scanner.discover(timeout=5.0)
109
for d in devices:
110
async with BleakClient(d) as client:
111
print(client.services)
0 commit comments