[フレーム]
Keil Studio Cloud

Important update: Arm Announces End of Life Timeline for Mbed. This site will be archived in July 2026. Read the full announcement.

Fully working USB HID stack

Table of Contents

  1. TO DO list:

There are many TO DO's in USB HID stack used in example programs like USBmouse, USBJoystick and other based on it. I am trying to fix this to reach fully working USB HID stack with all USB HID functionality. If You would like to participate on finishing TO DO's, You are wellcome.

TO DO list:

String Descriptor - COMPLETED

I finished String Descriptor yesterdey so this TO DO is complete. I published result as USBKeyboardMouse_with_String_Descriptor. Mbed device is now recognized by host by iManufacturer name "mbed.org", iProduct name "mbed HID", iSerial number "0123456789", iConfiguration number "01" and iInterface name "HID". You can easily change this to match Yours in USBhid.cpp.

Import program USBKeyboardMouse_with_String_Descriptor

Based on USBKeyboardMouse example. I added USB String Descriptor so mbed reports itself to host not only with VID & PID but also with name of manufacturer, product name, serial number, configuration number and interface name. These can be changed to matching Yours in USBhid.cpp file on lines 88 - 122.

Last commit 08 Sep 2011 by little llumpu

Forum about String Descriptor TO DO is at http://mbed.org/forum/mbed/topic/2655/

SET_REPORT functionality - Not working

The Set_Report request allows the host to send a report to the device, possibly setting the state of input, output, or feature controls.

Because we develop USB mouse and keyboard, Set_Report request now for keyboard where this request sets satus of 3 LEDs (Num Lock, Caps Lock and Scroll Lock.

This TO DO can be found in USBhid,.cpp on line 364. Please use USBKeyboardMouse_with_String_Descriptor program as source because previous TO DO is implemented in.

Information

Be happy to add new TO DO's found in this program or to help with resolving them.

EVERYBODY can edit this page and add some information.


All wikipages
Recent changes
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.

Access Warning

You do not have the correct permissions to perform this operation.

×

AltStyle によって変換されたページ (->オリジナル) /