Hello Nordic experts,
I am using nRF52840 and SDK 15.3.0. I have added an OUT ENDPOINT to the usbd_hid_generic example by following the suggestions in https://devzone.nordicsemi.com/f/nordic-q-a/36145/nrf52840-usbd_hid_generic-endpoint-out-error. I can see the OUT ENDPOINT in USB description so it was successfully added. Also, I have a tool to send data to that OUT ENDPOINT. Now, I would like to ask how do I program to read that data stored in OUT ENDPOINT using Keil? (I will use that data to control the LEDs in nRF52840)
#define HID_GENERIC_EPOUT NRF_DRV_USBD_EPOUT1 // ..... #define ENDPOINT_LIST() \ ( \ HID_GENERIC_EPIN, \ HID_GENERIC_EPOUT \ ) // .....
Thank you for your kind support in advance.
Kind regards,
Louis