- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Wed, 03 Jun 2020 21:49:13 +0000
- To: public-web-bluetooth-log@w3.org
A new `optionalServices` field is needed because the services in a [`BluetoothLEScanFilterInit`](https://webbluetoothcg.github.io/web-bluetooth/#dictdef-bluetoothlescanfilterinit) are all required for the advertisement to match the filter. Imagine a sensor which alternates between advertising the temperature and its battery level. The temperature service is the one that the application would require in its call to [`requestLEScan()`](https://webbluetoothcg.github.io/web-bluetooth/scanning.html#dom-bluetooth-requestlescan) but could specify the battery service UUID as an optional service so that it could also display that information if the device provides it. -- GitHub Notification of comment by reillyeon Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/499#issuecomment-638479774 using your GitHub account
Received on Wednesday, 3 June 2020 21:49:18 UTC