uf2 icon indicating copy to clipboard operation
uf2 copied to clipboard

Please define HF2 interface identification rules

Open flit opened this issue 4 years ago • 1 comments

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 avatar Jun 02 '20 16:06 flit

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.

mmoskal avatar Dec 16 '20 11:12 mmoskal