Hi All!
I use "examples\peripheral\usbd\" example Project as reference to implement my own HID protocol.
I use only EP1 in/out 64 bytes both.
faced with a question, there is a DATA BUFFER for NRF_DRV_USBD_EPOUT1 when I receive NRF_DRV_USBD_EVT_EPTRANSFER ?
case NRF_DRV_USBD_EVT_EPTRANSFER: if (NRF_DRV_USBD_EPIN1 == p_event->data.eptransfer.ep) { muENV.cnt_ep1_in++; m_send_mouse_position = false; } else if (NRF_DRV_USBD_EPOUT1 == p_event->data.eptransfer.ep) { muENV.cnt_ep1_out++; muENV.ep1out_rcvd = 1; } else
Thansk you!