- From: Ovidio Ruiz-Henríquez via GitHub <sysbot+gh@w3.org>
- Date: Tue, 09 Jun 2020 17:36:49 +0000
- To: public-web-bluetooth-log@w3.org
> @jyasskin writes > > > The devices returned by requestLEScan() should have a way to upgrade to GATT communication > > Is there any guidance as to how to do this? We haven't figured out how exactly to do this yet, so it's not possible at the moment. > As far as I can understand from the documentation, I should call `navigator.premissions.request({ name: 'bluetooth', deviceId: event.device.id })`, but that generates an error, "The provided value 'bluetooth' is not a valid enum value of type PermissionName". The Bluetooth Permissions API integration is also not implemented. The only way to request a device to connect to is to use `navigator.bluetooth.requestDevice()` and provide the services that you would like to connect to in the `filters` field or in the `optionalServices` field. -- GitHub Notification of comment by odejesush Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/255#issuecomment-641466990 using your GitHub account
Received on Tuesday, 9 June 2020 17:36:50 UTC