This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Changing NXP USB HOST lite for HID class

Hi,

I have worked with NXP USB host lite example and successful tested it for my USB stick ,now i want to change the code for HID class as it is mean for Mass storage Class only .
By studying i come to know that i have to do two things
1.Change the BULK descriptor to INTERRUPT for HID
2.Support for Report parsing

but i do not know how to do these?
any body done this please guide me how to do this ,i am targeting the LPC1754 from NXP

Parents
  • Ah, I remember.

    When the target is a keyboard which supports boot protocol (confirmed in its interface descriptor),
    Send Set_Protocol( Boot_protocol ) request to the keyboard.
    And then, the keyboard returns input reports in Standard keyboard report format.
    You don't need to read out / parse its report descriptor.

    USB host stack on TI StellarisWare supports keyboard and mouse in this way.
    Maybe, they would like to escape from the trouble of parser implementation :-)

    Tsuneo

Reply
  • Ah, I remember.

    When the target is a keyboard which supports boot protocol (confirmed in its interface descriptor),
    Send Set_Protocol( Boot_protocol ) request to the keyboard.
    And then, the keyboard returns input reports in Standard keyboard report format.
    You don't need to read out / parse its report descriptor.

    USB host stack on TI StellarisWare supports keyboard and mouse in this way.
    Maybe, they would like to escape from the trouble of parser implementation :-)

    Tsuneo

Children