From d37c505d898c40d9d45ba321500b7c833f22d656 Mon Sep 17 00:00:00 2001 From: taichunmin Date: Fri, 1 Nov 2024 12:16:57 +0800 Subject: [PATCH] v0.3.20: add filter for bluefy --- package.json | 2 +- src/plugin/WebbleAdapter.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 406ac39..a4a40b9 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,7 @@ "module": "./dist/index.mjs", "name": "chameleon-ultra.js", "type": "commonjs", - "version": "0.3.19", + "version": "0.3.20", "bugs": { "url": "https://github.com/taichunmin/chameleon-ultra.js/issues" }, diff --git a/src/plugin/WebbleAdapter.ts b/src/plugin/WebbleAdapter.ts index 7fb31ab..3457dd2 100644 --- a/src/plugin/WebbleAdapter.ts +++ b/src/plugin/WebbleAdapter.ts @@ -15,6 +15,7 @@ const ULTRA_TX_CHAR_UUID = toCanonicalUUID('6e400003-b5a3-f393-e0a9-e50e24dcca9e const BLE_SCAN_FILTERS: BluetoothLEScanFilter[] = [ { name: 'ChameleonUltra' }, // Chameleon Ultra + { services: [ULTRA_SERV_UUID] }, // Chameleon Ultra, bluefy not support name filter { services: [DFU_SERV_UUID] }, // Chameleon Ultra DFU ]