Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please define HF2 interface identification rules #25

Open
flit opened this issue Jun 2, 2020 · 1 comment
Open

Please define HF2 interface identification rules #25

flit opened this issue Jun 2, 2020 · 1 comment

Comments

@flit
Copy link

flit commented Jun 2, 2020

For HF2 you don't specify any method of recognizing an HID interface as providing HF2.

I suggest two possible methods:

  1. Interface name containing "HF2".
  2. Declare a HID usage page for HF2.

Ideally both would be required in an implementation, letting the host use whichever is easiest and/or supported by the USB library being used.

@flit flit changed the title Please define a HF2 interface identification rules Please define HF2 interface identification rules Jun 2, 2020
@mmoskal
Copy link
Member

mmoskal commented Dec 16, 2020

HID isn't ideal for HF2 (despite the name). We've been recently using just a custom USB class with two bulk end-points. This is also the approach taken by CMSIS DAP 2. It's faster and works driver-less in all modern OSes. It also allows for usage from WebUSB.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants