- From: Reilly Grant via GitHub <sysbot+gh@w3.org>
- Date: Tue, 20 Nov 2018 15:18:07 +0000
- To: public-web-bluetooth-log@w3.org
It's unclear from the question whether you want to connect to a device for the first time based on MAC address (perhaps the user is opening your application on a new phone but already has a device associated with their account) or if you want to reconnect to a device the user has selected before. Web Bluetooth always requires user interaction before a site's first connection to a device. The requestDevice() method takes a filter parameter which can be used to limit the set of devices the user is asked to choose between. It currently does not support filtering on MAC address. The specification also includes an extension to the Permissions API's query() method which allows a site to reconnect to devices it previously had permission to access. Chrome does not currently implement this method. Work to do so is tracked by [issue 577953](https://bugs.chromium.org/p/chromium/issues/detail?id=577953). Can you explain more about how your app works so I can understand which of these solutions you are asking for? -- GitHub Notification of comment by reillyeon Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/417#issuecomment-440309691 using your GitHub account
Received on Tuesday, 20 November 2018 15:18:13 UTC