| |||||
Technical Support Support Resources
Product Information | MCB2140: CHANGE MESSAGE SIZE OF USBHID EXAMPLEInformation in this article applies to:
QUESTIONI need help with the USBHID example which is part of the the Keil MCB2140 Evaluation Board (using the Philips LPC2148 ARM processor). We want to re-use this source code in our project, but this example sends only one byte at a time. We need to send a packet of 16 bytes. It looks like the source code is prepared to handle more than one byte, however during the identification of the USB to the host computer, the length is fixed to one byte. How do I change the packet length for this example? ANSWERThe HID project can be easily adapted to support reports with sizes up to 64 bytes. The necessary changes are:
MORE INFORMATION
Last Reviewed: Wednesday, September 21, 2005 | ||||
| |||||