Skip to content

read error when trying to pull RTE and capacity  #10

@lorenzoooooo

Description

@lorenzoooooo

I am using openups with firmware 1.9 and the configuration set is in the attached file.

While trying to run the following code inside GetStatus() method of object HIDOpenups:
" ret = sendMessage(OPENUPS_CLOCK_OUT, 0);
usleep(1000);
recvMessage(recv);
parseMessage(recv);
"
I get the following error:
"
hid_interrupt_read failed with return code -110
Read error [0xc0]: -110
"
it reads the capacity and the RTE but puts to 0 all the other values.
If I comment this part of code I get all the values with correct values except for the RTE and capacity and the error is not present.
Furthermore I saw that the windows interface doesn't have this problem.

settings.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions