Displaying 2 results from an estimated 2 matches for "55bytes".
2016 Jan 19
5
Patching CyberPower UPS drivers
...oo...
Here I am. ;)
Where should we start?
Essentially, I rewrote powpan_status so it better tolerates strings of different lengths (although I only have the 1 UPS right now, so I can't test against another and different string lengths)
I had to make the serial read much longer so it grabs 55bytes instead of the original short list.
> 9.843588 read: (55 bytes) => 23 49 31 31 38 2e 30 4f 31 31 38 2e 30 4c 30 31 37 42
> 9.843663 31 30 30 54 30 32 35 48 30 36 30 2e 30 46 30 36 30 2e 30 52 30 35 31 51 30
> 9.843695 30 32 53 90 84 c0 88 80 57 00 81 0d
compared...
2016 Jan 28
0
Patching CyberPower UPS drivers
...s don't quite work...
[...]
> Essentially, I rewrote powpan_status so it better tolerates strings of different lengths (although I only have the 1 UPS right now, so I can't test against another and different string lengths)
>
> I had to make the serial read much longer so it grabs 55bytes instead of the original short list.
>
>> 9.843588 read: (55 bytes) => 23 49 31 31 38 2e 30 4f 31 31 38 2e 30 4c 30 31 37 42
>> 9.843663 31 30 30 54 30 32 35 48 30 36 30 2e 30 46 30 36 30 2e 30 52 30 35 31 51 30
>> 9.843695 30 32 53 90 84 c0 88 80 57 00 81...