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

Re: [web-bluetooth] Make requestDevice()'s filters match requestLEScan()'s filters.

From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
Date: Fri, 05 Aug 2016 18:34:31 +0000
To: public-web-bluetooth-log@w3.org
Message-ID: <issue_comment.created-237928547-1470422068-sysbot+gh@w3.org>
Sorry, I meant that [`ScanFilter.Builder.setManufacturerData(id, data,
 
mask)`](https://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder.html#setManufacturerData(int,
 byte[], byte[])) requires that the advertised data be exactly as long
 as the array you provide, rather than letting it be a prefix or 
suffix. For example, you can't scan for Eddystone URL packets using 
the Android filter format without also getting all other Eddystone 
types.

That change won't be in this PR. I'll figure it out and change both 
`scanning.bs` and `index.bs` in some other PR.

-- 
GitHub Notification of comment by jyasskin
Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/pull/265#issuecomment-237928547
 using your GitHub account
Received on Friday, 5 August 2016 18:36:37 UTC

This archive was generated by hypermail 2.3.1 : Friday, 5 August 2016 18:36:38 UTC