Communicating with HIDROM

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

Communicating with HIDROM

949 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mike45 on Mon Nov 15 18:21:22 MST 2010
I am trying to send messages from a set of API functions to communicate with the HIDROM example.

I did a trace with USBlyzer software and it logs sent data from the included example application as interrupt transfers.  I can't seem to replicate the sent data and i just wanted to make sure that this is the only way to communicate to it.

Is this the right way to communicate to it or is there another way?  i've got other choices from the api, like these:

0 = Standard
1 = Class
2 = Vendor
3 = Reserved
D4..0 Recipient
0 = Device
1 = Interface
2 = Endpoint
3 = Other
0 项奖励
回复
1 回复

862 次查看
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Mike45 on Mon Nov 15 23:03:04 MST 2010
[HTML]Endpoint Descriptor 01 1 Out, Interrupt, 32 ms
OffsetFieldSizeValueDescription
0bLength107h
1bDescriptorType105hEndpoint
2bEndpointAddress101h1 Out
3bmAttributes103hInterrupt
1..0: Transfer Type......11 Interrupt
7..2: Reserved000000..
4wMaxPacketSize20040h64 bytes
6bInterval120h32 ms
[/HTML]

Is it possible to write to this endpoint somehow?
0 项奖励
回复