From 0085e90844418c0635b840aa4cb5d351e6ac5815 Mon Sep 17 00:00:00 2001 From: OpenClaw Date: Thu, 16 Apr 2026 14:02:27 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20add=20BLE=20to=20DefineConstants=20?= =?UTF-8?q?=E2=80=94=20enables=20Plugin.BLE=20DeviceFinder=20implementatio?= =?UTF-8?q?n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - csproj DefineConstants: TCP → TCP;BLE - Plugin.BLE/Source/HAL/DeviceFinder.cs has full BLE search impl: - Initialize(IAdapter, IBluetoothLE) — call once before searching - StartDeviceSearch(scanMode, timeoutMs) — start BLE scan - StopDeviceSearch() — stop scan - OnDeviceFound event → DeviceFoundEventArgs(DeviceInformation) - OnSearchCompleted event → SearchCompletedEventArgs(timedOut) - GetDevices() / ClearDevices() / IsScanning - DeviceInformation: Id, Name, DeviceType (MODEL), Rssi, NativeDevice (IDevice) - No naming conflicts with TCP DeviceFinder partial class --- CSLibrary2026.csproj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CSLibrary2026.csproj b/CSLibrary2026.csproj index 474d552..fdc9b6c 100755 --- a/CSLibrary2026.csproj +++ b/CSLibrary2026.csproj @@ -8,7 +8,7 @@ 0.0.1 - TCP + TCP;BLE false