update scanner to find nodes

This commit is contained in:
Florent 2025-02-14 07:26:34 +01:00
parent 5de504ebf9
commit 3bcc253b83

View file

@ -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