Author Topic: Max 'safe' feature report size?  (Read 8454 times)

Emeryth

  • Member
  • ***
  • Posts: 1
Max 'safe' feature report size?
« on: July 16, 2012, 06:54:17 am »
Hello,

I am developing a USB HID device that acts as a keyboard and, in addition, communicates with the host via feature reports.
I was wondering what is the maximum size of a feature report that should work on all systems (Windows/Linux/OSX) and hardware platforms?

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Max 'safe' feature report size?
« Reply #1 on: July 16, 2012, 02:03:17 pm »
In Get_Report and Set_Report requests, the report length field is two bytes, which limits reports to 65,535 bytes.

I don't know if all popular OSes support Feature reports of that length.

 

Jan