only search for our specific service id

This commit is contained in:
2026-03-07 10:06:33 +11:00
parent 7c5f11be08
commit b93ec675c4
2 changed files with 3 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ import asyncio
async def main():
devices = await BleakScanner.discover()
devices = await BleakScanner.discover(service_uuids=("E1898FF7-5063-4441-a6eb-526073B00001"))
for device in devices:
print()
print(f"Name: {device.name}")