- From: Jeffrey Yasskin via GitHub <sysbot+gh@w3.org>
- Date: Thu, 02 Jul 2015 17:31:07 +0000
- To: public-web-bluetooth-log@w3.org
@pzboyz Can you name some concrete devices that do this, and describe how their native apps figure out which device to connect to? The current spec matches iOS's preference: [the CBCentralManager provides only a way to filter by service UUID.](https://developer.apple.com/library/ios/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/PerformingCommonCentralRoleTasks/PerformingCommonCentralRoleTasks.html#//apple_ref/doc/uid/TP40013257-CH3-SW3) Android's full set of scan filters is at http://developer.android.com/reference/android/bluetooth/le/ScanFilter.Builder.html. I'm not sure which set of those we'll eventually want to support, or exactly how they'll affect the security model. A filter by device name, especially, seems like it'll encourage a really confusing chooser dialog: "Which of these 5 identical 'Charge HR' devices is yours?" (This already happens, and is enabled by Android's filters.) We may need to put a distance indicator in there after all. -- GitHub Notif of comment by jyasskin See https://github.com/WebBluetoothCG/web-bluetooth/issues/135#issuecomment-118101183
Received on Thursday, 2 July 2015 17:31:09 UTC