Displaying 1 result from an estimated 1 matches for "get_don".
Did you mean:
  get_dom
  
2007 Feb 01
2
Re: [Nut-upsuser] Ablerex 625L USB version
...dcoded 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)
> + {
> +     char report_buf[ABLEREX_REPORT_SIZE];
> +     int rc;
> + upsdebugx(4, "set_data_ablerex: Starting");
> +     if (strlen(str)>ABLEREX_REPORT_SIZE)
> +     {
> +         upslogx(LOG_ERR,
>...