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