W3C home > Mailing lists > Public > public-web-bluetooth-log@w3.org > August 2015

Re: [web-bluetooth] Scan by device name

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Tue, 25 Aug 2015 16:04:04 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-134650039-1440518643-sysbot+gh@w3.org>
Per 
https://github.com/voodootikigod/node-rolling-spider/blob/8996973eaee36be829d984d4ee7e37b0152b379d/lib/drone.js#L93,
 the Rolling Spider needs a prefix match on the name.

So: 
```javascript
  filters: [
    {name: 'ExactName1'},
    {name: 'ExactName2'},
    {namePrefix: 'Prefix1'},
    {namePrefix: 'Prefix2'}
  ]
```

-- 
GitHub Notif of comment by jyasskin
See 
https://github.com/WebBluetoothCG/web-bluetooth/issues/135#issuecomment-134650039
Received on Tuesday, 25 August 2015 16:04:06 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 August 2015 16:04:06 UTC