[web-bluetooth] Device Discovery: suggest to add "Allow duplicate" in the BluetoothScanFilter

VinceGa has just created a new issue for 
https://github.com/WebBluetoothCG/web-bluetooth:

== Device Discovery: suggest to add "Allow duplicate" in the 
BluetoothScanFilter ==
I suggest we add a filter option for discovery event to filter out 
duplicate advertising packets. We should enable applications to 
respond to either the first received adv packet or continuous packets 
from the same device. In some use cases, the application is only 
interested in the first received adv packet from the device. In some 
other cases, it wants to get all the adv packets with maybe changing 
RX values.

Those filters are exposed from both core bluetooth and 
BluetoothLeScanner.
It's highly recommended that we have granular filter options to 
1)improve performance/response time. 2)be more energy efficient.

Thanks.

Reference:
http://developer.android.com/reference/android/bluetooth/le/ScanSettings.html
https://developer.apple.com/library/ios/documentation/CoreBluetooth/Reference/CBCentralManager_Class/index.html#//apple_ref/doc/constant_group/Peripheral_Scanning_Options
 

Please view or discuss this issue at 
https://github.com/WebBluetoothCG/web-bluetooth/issues/225 using your 
GitHub account

Received on Wednesday, 30 March 2016 16:24:40 UTC