diff --git a/ble.py b/ble.py index 45020f1..efa9820 100644 --- a/ble.py +++ b/ble.py @@ -48,7 +48,7 @@ async def read_data(mac_address): while not success: try: print("Client connected, getting services") - services = await client.get_services() + services = client.services print("Services acquired, loading uuid matches") mi_service = next((s for s in services if s.uuid.lower() == MI_SERVICE_UUID.lower()), None) success = True diff --git a/config.py b/config.py index 59d7818..d002e3f 100644 --- a/config.py +++ b/config.py @@ -6,7 +6,7 @@ debug_output = False bind_ip = "0.0.0.0" api_port = 5000 redis_port = 6379 -enable_redis = True +enable_redis = False # --- This will store friendly names for MAC addresses ----------------- comment_lookup = [