USB HID OUT endpoint report descriptor

Hallo Gruppe,

Report Deskrtiptor geschrieben und der passt auch wunderbar (wird genau so erkannt wie ich ihn deklariert habe).

Mit dem OUT endpoint habe ich allerdings unter Windows Probleme: Ich

wunderbar, die libhib sendet einfach alles, was ich so raussenden will direkt an OUT und alles passt wunderbar.

Unter Windows habe ich damit allerdings Probleme: Windows weigert sich

"Invalid parameter".

Allerdings habe ich keine Ahnung, wie ich die deklarieren soll bzw wie das geht. In allen beispielen sehe ich immer nur die IN reports

deklariert (IN INTERRUPT und OUT INTERRUPT), aber eben die reports nicht.

Kann mir da jemand weiterhelfen, der sich mit dem Thema auskennt?

Johannes

--
>> Wo hattest Du das Beben nochmal GENAU vorhergesagt? 


Kosmologen: Die Geheim-Vorhersage.
Reply to
Johannes Bauer
Loading thread data ...

Am 30.10.2017 um 10:02 schrieb Johannes Bauer:

Hallo Johannes,

Byte voll wird:

0xa1, 0x02, /* Collection (Logical) */ 0x85, 0x04, /* Report ID (LED Data Report) */ 0x05, 0x08, /* USAGE_PAGE (LED) */ 0x19, 0x4b, /* USAGE_MINIMUM (Generic Indicator) */ 0x29, 0x4d, /* USAGE_MAXIMUM (Generic Indicator) */ 0x15, 0x00, /* LOGICAL_MINIMUM (0) */ 0x25, 0x01, /* LOGICAL_MAXIMUM (1) */ 0x95, 0x03, /* REPORT_COUNT (3) */ 0x75, 0x01, /* REPORT_SIZE (1) */ 0x91, 0x02, /* OUTPUT (Data,Var,Abs) */ 0x95, 0x01, /* REPORT_COUNT (1) */ 0x75, 0x05, /* REPORT_SIZE (5) */ 0x91, 0x03, /* OUTPUT (Const) */ 0xc0, // End Collection (Logical)

Stefan

Reply to
Stefan Wiest

Perfekt! Vielen lieben Dank, jetzt hab ich's kapiert.

Dann man ans Implementieren, yippey! :-)

Johannes

--
>> Wo hattest Du das Beben nochmal GENAU vorhergesagt? 


Kosmologen: Die Geheim-Vorhersage.
Reply to
Johannes Bauer

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.