PORTS Forum

Ports and Interfaces => USB => Topic started by: ftariq68 on January 31, 2012, 01:02:24 pm

Title: What is a Feature Report
Post by: ftariq68 on January 31, 2012, 01:02:24 pm
Hi,

I don't quite understand the use of the Feature Report? Can anyone explain this one?

Thank your for your explanation, in advance.

Thanks

tariq
Title: Re: What is a Feature Report
Post by: Jan Axelson on January 31, 2012, 02:04:32 pm
Use a Feature report for any data you want to send via control transfers only. A typical use is to send non-time-sensitive configuration data. A Feature report can be host-to-device or device-to-host.

Jan
Title: Re: What is a Feature Report
Post by: sudocoda on July 05, 2012, 01:01:43 pm
How do I get HIDAPI to send and get feature reports to and from my Cypress Sega Saturn controller? Here's what I get when I run compile and run hidtest.cpp:

Quote
Device Found
  type: 04b4 010a
  path: \\?\hid#vid_04b4&pid_010a#7&e8debf0&0&0000#{4d1e55b2-f16f-11cf-88cb-0011
11000030}
  serial_number:
  Manufacturer: CYPRESS
  Product:      USB Gamepad
  Release:      100
  Interface:    -1

Manufacturer String: CYPRESS
Product String: USB Gamepad
Serial Number String: (0)
Indexed String 1: CYPRESS
Unable to send a feature report.
Unable to get a feature report.
Incorrect function.
Unable to write()
Error: The parameter is incorrect.
Unable to write() (2)
waiting...
waiting...
waiting...
Data read:
   80 80 01 00
Press any key to continue . . .

Thanks,
Mike
Title: Re: What is a Feature Report
Post by: Jan Axelson on July 10, 2012, 12:51:33 pm
Be sure your device firmware supports Feature reports.

Jan