Implementing a Handler to Request a USB Set Descriptor

cancel
Showing results for 
Search instead for 
Did you mean: 

Implementing a Handler to Request a USB Set Descriptor

196 Views
dmytrogrytsay
Contributor I

Greetings
Has anyone implemented a Set Descriptor request handler for a USB device?

There is a problem on this issue:

- what should be the correct response of the device to this request.

In particular, the NXP Kinetis family of microcontrollers is of interest. The proposed NXP has a usb stack, but there is no SET SCRIPTOR implementation on the stack.

By analogy with other queries, Set Descriptor was also implemented. As a result, this works, but cannot access the data field.


But any example will also be useful.
Tags (3)
0 Kudos
1 Reply

136 Views
bobpaddock
Senior Contributor III

Some of the NXP USB Stacks are based on LUFA.  It has lots of examples, see if any help:

GitHub - abcminiuser/lufa: LUFA - the Lightweight USB Framework for AVRs. 

0 Kudos