- From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
- Date: Wed, 27 Jul 2016 23:17:46 +0000
- To: public-web-bluetooth-log@w3.org
>3) Shouldn't typical scan filters be applicable to this scan? For example, matching on a name. I think the `name` and `namePrefix` filters are the only ones I have in [`requestDevice()`](https://webbluetoothcg.github.io/web-bluetooth/#dictdef-bluetoothrequestdevicefilter) but not [`requestLEScan()`](https://rawgit.com/jyasskin/web-bluetooth-1/scanning/scanning.html#dictdef-bluetoothlescanfilterinit). Android provides an [exact name match](https://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder.html#setDeviceName(java.lang.String)), but not a partial name match, which limits the efficiency gains we can get by specifying a partial match. (Of course, iOS has [much weaker filters](https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCentralManager_Class/index.html#//apple_ref/occ/instm/CBCentralManager/scanForPeripheralsWithServices:options:).) My impression of `requestDevice()` uses is that most have needed to use partial name matches. So, I'm inclined not to include `name` filters in `requestLEScan()` until we find concrete use cases. -- GitHub Notification of comment by jyasskin Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/pull/239#issuecomment-235750528 using your GitHub account
Received on Wednesday, 27 July 2016 23:17:56 UTC