Issue with Powersa RT3000 / Blazerusb driver #608
Labels
Qx protocol driver
Driver based on Megatec Q<number> such as new nutdrv_qx, or obsoleted blazer and some others
USB
I have a UPS based on a generic brand (have seen it sold under various brands) and using blazer_usb it "almost" works. The initialization, for blazer_rating / blazer_vendor fails as it seems to UPS seems to be sending one byte less than expected by the driver. The \r at the end seems to be missing (can't see the raw USB data at the moment) but the log shows as follows when invoking
when looking at
nut/drivers/blazer.c
Line 296 in 1ba5111
I can see that it checks the length of the return string to include the \r. I think we could relax the lenght check to be one character less and the same thing on the
blazer_vendor
function.The text was updated successfully, but these errors were encountered: