diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-08-31 23:04:48 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-08-31 23:41:06 +0300 |
commit | 9ba7a470ad98b689da9a15af1c215178739b042c (patch) | |
tree | 4a6b89eb8b3dbae2e49c8de1f0558926e38cb393 /src/util.h | |
parent | 750297157d8c21f67eb57a1afe30286c1571eb12 (diff) |
p18: get-rated: fix parsing of invalid response
Sometimes (my guess is when AC input line is connected) get-rated
(^P007PIRI request) returns additional field in the end. On my device
it's two bytes, '00' (0x30 0x30).
It shouldn't be there as per documentation (but you know how
accurate these chinese docs can be, right?) and, as of now, I have no
clue what that means.
Diffstat (limited to 'src/util.h')
0 files changed, 0 insertions, 0 deletions