From 3bcc253b83da6f583d40c3cd8a1772102474e971 Mon Sep 17 00:00:00 2001 From: Florent Date: Fri, 14 Feb 2025 07:26:34 +0100 Subject: [PATCH] update scanner to find nodes --- mccli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mccli.py b/mccli.py index db6dc07..0ac5510 100755 --- a/mccli.py +++ b/mccli.py @@ -55,7 +55,7 @@ class MeshCore: """ def match_meshcore_device(_: BLEDevice, adv: AdvertisementData): """ Filter to mach MeshCore devices """ - if adv.local_name == "MeshCore" : + if adv.local_name.startswith("MeshCore") : return True return False