Mouse + keyboard + generic HID USB composite device issue

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Mouse + keyboard + generic HID USB composite device issue

跳至解决方案
1,495 次查看
laszlomonda
Contributor V

Hi guys,

 

I'm developing a mouse + keyboard + generic HID composite USB application on an FRDM-K22F dev board.

 

The mouse and keyboard interfaces work well. The mouse pointer moves downwards upon pressing the SW2 button and the keyboard sends the scancode of "a" upon pressing the SW3 button.

 

Unfortunately, the generic HID interface doesn't seem to work. It enumerates properly but doesn't function. It should echo the send package just like the generic HID KSDK demo. It should also enable the red / green / blue LED when the first character of the sent package is "r" / "g" / "b".

 

I've written a test script to check whether the generic HID interface works as intended. My script works perfectly with the official generic HID KSDK demo but the transfer stalls when sending a package to this composite device.

 

I've just added the generic HID interface to my application in my most recent commit and tried hard to make everything right, but I surely made some mistake.

 

I'd appreciate any help. Thank you very much in advance!

- Laci

标签 (1)
0 项奖励
回复
1 解答
835 次查看
laszlomonda
Contributor V

Fixed! Sorry for the post, I should have been more watchful.

在原帖中查看解决方案

0 项奖励
回复
1 回复
836 次查看
laszlomonda
Contributor V

Fixed! Sorry for the post, I should have been more watchful.

0 项奖励
回复