From 2dfdcd39f1ffd905aab41e039a48e5ada7384bd1 Mon Sep 17 00:00:00 2001 From: James Smith Date: Wed, 13 May 2026 20:47:07 +0100 Subject: [PATCH] fix(meshcore): call scan_ble_sync() not scan_ble() in ble/scan route Route was calling a non-existent method, causing a 500 on every scan. Co-Authored-By: Claude Sonnet 4.6 --- routes/meshcore.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/routes/meshcore.py b/routes/meshcore.py index 57f6fca..4990afd 100644 --- a/routes/meshcore.py +++ b/routes/meshcore.py @@ -93,7 +93,7 @@ def ports(): def ble_scan(): if not is_meshcore_available(): return api_error("meshcore not installed", 503) - devices = _client().scan_ble() + devices = _client().scan_ble_sync() return jsonify({"devices": devices})