Closed daskalovst closed 1 week ago
It looks like a communication error. The function returns a value in any case, even if the request is unsuccessful. In the specific example, 0xFF (255) is returned as an error code, and 0xFFFF (65535), as two two bytes received with an error or not received at all.
Battery Percentage [%]: 255 Battery Voltage [mV]: 65535 1 1 1 Unknown Charge State
it needs to have some check is it connected before starts sending requests