search for: decode_v

Displaying 1 result from an estimated 1 matches for "decode_v".

2014 Sep 25
2
TRIPPLITE OMNIVSINT80 Compatibility
...ng values being reported. They are, in fact out, by a factor of just over 2 (2.04 measured for output voltage and 1.95 for input voltage as reported by my main UPS). Whether there is anything being returned that helps differentiate its a 240v model I dont know. This is, at least, consistent with decode_v() in the driver src: void decode_v(const unsigned char *value) { unsigned char ivn, lb; int bv = hex2d(value+2, 2); ivn = value[1]; lb = value[4]; switch(ivn) { case '0': input_voltage_nominal = input_voltage_scaled = 100; break; case '1': input_voltage_nom...