Re: [web-bluetooth] Cannot interact with non-GUI HID interface

@reillyeon As I understand it, Chrome did go with your approach #1: "Implement new WebUSBHID interface for Chrome and provide to Chromium as spec/patch. It might be like chrome.hid on top of usbhid hid user space library." chrome.hid does just that, and I have used chrome.hid to interact with some telephony functionalities, though I can't say for sure i was using telephony usage pages to do so.

The problem is that chrome.HID is built on the assumption that you're interacting with the device over USB. I suppose in a perfect world chrome.HID would be an interface that could interact with any authorized device be it USB or Bluetooth GATT. As of now there seems to be no way to interact with HID over bluetooth, and I see no way for chrome.HID to be such a solution without an implementation by the WebBluetooth team.

I would consider it a very good design indeed for these protocols to play nice with each other, allowing us to build technologies that use devices from a variety of sources. These are not, after all, fundamentally different use cases between USB and Bluetooth, just different means of connecting you to your device.

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

Received on Monday, 30 April 2018 14:54:10 UTC