10 lines
169 B
Python
10 lines
169 B
Python
import asyncio
|
|
from bleak import BleakScanner
|
|
|
|
async def main():
|
|
devices = await BleakScanner.discover()
|
|
for d in devices:
|
|
print(d)
|
|
|
|
asyncio.run(main())
|