Mouse + keyboard + generic HID USB composite device issue

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Mouse + keyboard + generic HID USB composite device issue

ソリューションへジャンプ
1,535件の閲覧回数
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 解決策
875件の閲覧回数
laszlomonda
Contributor V

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

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
876件の閲覧回数
laszlomonda
Contributor V

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

0 件の賞賛
返信