Re: [web-bluetooth] Clarify the role of requestDevice vs requestLEScan (#255)

@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?

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"

-- 
GitHub Notification of comment by stroiman
Please view or discuss this issue at https://github.com/WebBluetoothCG/web-bluetooth/issues/255#issuecomment-641175265 using your GitHub account

Received on Tuesday, 9 June 2020 09:50:42 UTC