On 4/1/06, beckiewynn@yahoo.co.uk wrote: > > > Is it possible to send a report to the pc without receiving one? > > Yes it is possible, For example USB Mouse/Keyboard are input only HID > devices. > > Check the Microchip HID Mouse Example, on which PIC will send packets, > without > > recieving any one. > I am using the modified mouse example from Lakeview Research. I made a > modification of my own whereby when I receive the Report, I send it back > twice (instead of just once, as was originally). But then, on the pc, I > tried to > read twice, but the 2nd read blocked (which to my mind means - no data) > so I can't see that it is working. > Are you taking care of following things, * IOProcess shouldn't stall for long time ( If IOProcess lesser than 500 us is better) * Don't transmit two packets back to back , It won't work. Use statemachine, and only after first packet is transmitted, transmit the second packet. (!mHIDTxIsBusy()) ) { HIDTxReport(..); //won't work HIDTxReport(..); //won't work } regards, palani -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist