mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-23 14:32:59 -05:00
Implements BLE manufacturer data-feature to only scan for properly initialised LEGO BOOST Move Hubs
This commit is contained in:
parent
cc04fb0994
commit
f4e34131e3
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue