1
0
This repository has been archived on 2026-06-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
MSE-PI-E2EEDA-Plein-de-eeee…/gateway/check_uuid.py

14 lines
473 B
Python

import asyncio
from bleak import BleakScanner
async def scan():
print("Scan en cours (10 secondes)...")
devices = await BleakScanner.discover(timeout=10.0, return_adv=True)
for address, (device, adv) in devices.items():
if device.name and "Djelal" in device.name:
print(f"\n{device.name} | {address}")
print(f" Service UUIDs : {adv.service_uuids}")
print(f" Local name : {adv.local_name}")
asyncio.run(scan())