From 8e07440114074ea72ec8348b438a121eb8a092c3 Mon Sep 17 00:00:00 2001 From: Ben Allfree Date: Sun, 22 Feb 2026 08:38:22 -0800 Subject: [PATCH] BLE fix --- lib/connector/meshcore_connector.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/connector/meshcore_connector.dart b/lib/connector/meshcore_connector.dart index 9f94e72..c558171 100644 --- a/lib/connector/meshcore_connector.dart +++ b/lib/connector/meshcore_connector.dart @@ -893,6 +893,7 @@ class MeshCoreConnector extends ChangeNotifier { // ignore: unawaited_futures _txCharacteristic!.setNotifyValue(true, timeout: 2).catchError((e) { debugPrint('Web setNotifyValue error (ignoring): $e'); + return false; // catchError must return a bool to match Future }); // Give the browser a moment to process the underlying startNotifications call await Future.delayed(const Duration(milliseconds: 500));