From f4e34131e3ec22374b0943636ed1673d575cab7e Mon Sep 17 00:00:00 2001 From: Kevin Andersen Date: Thu, 11 Jul 2019 17:23:59 -0400 Subject: [PATCH] Implements BLE manufacturer data-feature to only scan for properly initialised LEGO BOOST Move Hubs --- src/extensions/scratch3_boost/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/extensions/scratch3_boost/index.js b/src/extensions/scratch3_boost/index.js index 8934d5a77..5d203fa0f 100644 --- a/src/extensions/scratch3_boost/index.js +++ b/src/extensions/scratch3_boost/index.js @@ -800,13 +800,13 @@ class Boost { } this._ble = new BLE(this._runtime, this._extensionId, { filters: [{ - services: [BoostBLE.service]/* , + services: [BoostBLE.service], manufacturerData: { 0: { dataPrefix: [0x97, 0x03, 0x00, 0x40], mask: [0xFF, 0xFF, 0, 0xFF] } - } commented out until feature is enabled in scratch-link */ + } }], optionalServices: [] }, this._onConnect, this.reset);