- From: François Beaufort via GitHub <sysbot+gh@w3.org>
- Date: Mon, 24 Aug 2015 08:51:09 +0000
- To: public-web-bluetooth-log@w3.org
beaufortfrancois has just created a new issue for https://github.com/WebBluetoothCG/web-bluetooth: == Scan by manufacturerData == It would be nice to be able to scan with filters on manufacturer data. Here's how it would look like for the Rolling Spider Drone: ```js var rollingSpiderData = new Map([[0x0043, [0xcf, 0x19, 0x00, 0x09, 0x01, 0x00]]]); return navigator.bluetooth.requestDevice({ filters: [{ manufacturerData: [rollingSpiderData] }] }).then(device => { ... }) ``` According to https://github.com/voodootikigod/node-rolling-spider/blob/8996973eaee36be829d984d4ee7e37b0152b379d/lib/drone.js#L94 See https://github.com/WebBluetoothCG/web-bluetooth/issues/153
Received on Monday, 24 August 2015 08:51:10 UTC