Dear All,
I'm using NRF24LU1P USB dongle to emulate mouse and keyboard. I've taken nAN-22 firmware as HID example and modified code to behave as 2xHID composite device.
What I did is that I set up two interfaces each with IN interrupt endpoints 81 and 82, and boot protocols 1 and 2 according to HID standard, and added all necessary descriptors.
After I flash my dongle, device enumerates successfully as 2xHID mouse+KB and USBView shows me that all descriptors and endpoints were setup correctly.
But I don't see any periodic data reports sent to PC nor from mouse and keyboard.
I digged down to code and made some debugging. Figured out that USB Endpoint Callbacks, e.g. ep_1_in_cb, are never called.
I expected to send HID report data inside them. Moreover, in USB HAL, the vector ivec in USB_ISR never has e.g. INT_EP1IN and respective callback is never called.
It only has value of INT_SUDAV.
So actually IN endpoint periodic communication is missing.
Am I doing something wrong?
Regards, Eugene