Search found 2 matches
- Tue Sep 13, 2016 5:46 am
- Forum: V-USB
- Topic: how usbFunctionRead() called ?
- Replies: 0
- Views: 45354
how usbFunctionRead() called ?
hi usbFunctionWrite called this way to get data. #if USB_CFG_IMPLEMENT_FN_WRITE if(usbMsgFlags & USB_FLG_USE_USER_RW){ uchar rval = usbFunctionWrite(data, len); if(rval == 0xff){ /* an error occurred */ usbTxLen = USBPID_STALL; }else if(rval != 0){ /* This was the final package */ usbMsgLen = 0;...
- Sat Sep 10, 2016 4:35 pm
- Forum: V-USB
- Topic: hid-data comunication problem
- Replies: 3
- Views: 47364
hid-data comunication problem
hi
i use hid-data example with 2 reportid .
how can i get data from pc in avr ?
in usbFunctionSetup
rq->wIndex.bytes[1];
is return report id ?
how can i get hid buffer data ?
thanks
i use hid-data example with 2 reportid .
how can i get data from pc in avr ?
in usbFunctionSetup
rq->wIndex.bytes[1];
is return report id ?
how can i get hid buffer data ?
thanks