Untitled
unknown
python
a year ago
286 B
5
Indexable
import asyncio from bleak import BleakScanner, BleakClient # Scan for nearby Bluetooth devices and print them on the screen async def scan_devices(): devices = await BleakScanner.discover() for device in devices: print(f"Found device: {device.name} - {device.address}")
Editor is loading...
Leave a Comment