Hi,
I made a HID joystick which uses 6 reports of 5 bytes each.
Including the reportIDs, I have 36 bytes to send.
The poll interval is 10ms so every 60ms a particular report is sent to the host.
Would it make a difference speed-wise if I were to send 1 report of 30 bytes by concatenating several calls to usbSetInterrupt() as explained by Christian here: viewtopic.php?f=8&t=1855 and in other threads?
(I use an ATmega16 @ 12 MHz)
-=Wim=-
HID: multiple report id's vs. one report > 8 bytes
-
- Posts: 14
- Joined: Thu Aug 19, 2010 3:04 pm
Re: HID: multiple report id's vs. one report > 8 bytes
I suppose it should make a bit of a difference, as there would be only 4 USB interrupt requests (3x8 bytes and 1x6 bytes) plus it saves time and space on the MCU. And the parsing on the host side is a bit easier, but this should make no real difference.