Displaying 1 result from an estimated 1 matches for "ablerex_report_size".
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
...from Windows driver
> + HID tables are complitely bogus
> + Data is transferred out as one 8-byte packet with report ID 0
> + Data comes in as 1 47-byte report per line , padded with zeroes
> + All constants are hardcoded in windows driver
> + */
> +
> + #define ABLEREX_REPORT_SIZE 47
> + #define ABLEREX_REPORT_COUNT 1
> + #define ABLEREX_TIMEOUT 5000
> + #define ABLEREX_RESPONSE_SIZE 11
> +
> + static char ablerex_response[ABLEREX_REPORT_SIZE];
> + static bool get_done;
> +
> + static int set_data_ablerex(const char *str)
> +...