I am totally newbie about V-usb. May be my question is dump, sorry if it is.
My report is 25 bytes. For my project I must prepare the feature report according to what asked with USBRQ_HID_SET_REPORT. So I need to parse the data buffer sent by USBRQ_HID_SET_REPORT.
How can I get data sent by USBRQ_HID_SET_REPORT? How to fill dots below? Or should I use something else? Thanks for helping.
case USBRQ_HID_SET_REPORT: // if wLength == 1, should be LED state
{.......... }
return (rq->wLength.word == 1) ? USB_NO_MSG : 0;
case USBRQ_HID_GET_IDLE: // send idle rate to PC as required by spec
How to parse data from sent by HID_SET_REPORT?
Re: How to parse data from sent by HID_SET_REPORT?
Can check my example:
http://ble.athost.net/pub/czujniki_wilg ... are/main.c
Hope link works... I'm not sure what u you want so maybe it's not helpful. Also try read documentation from v-usb (txt and some h files).
http://ble.athost.net/pub/czujniki_wilg ... are/main.c
Hope link works... I'm not sure what u you want so maybe it's not helpful. Also try read documentation from v-usb (txt and some h files).