6 Commits

Author SHA1 Message Date
Rob Watson
65d89406dc Fix test
All checks were successful
continuous-integration/drone/push Build is passing
Previously the same byte was read for both the error code and the first
byte of the checksum, which was definitely incorrect. The response is
updated with an extra byte which (hopefully) provides a more accurate
test case.
2022-07-17 10:22:22 +02:00
Rob Watson
b3b6f28401 modbus: Validate response
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-16 22:39:26 +02:00
Rob Watson
10ec839e1f Increase UDP timeout
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-15 21:14:55 +02:00
Rob Watson
aecb10f981 Retry UDP i/o on network error
All checks were successful
continuous-integration/drone/push Build is passing
2022-07-15 04:44:16 +02:00
Rob Watson
e467102cfe Implement DeviceInfo and RuntimeData commands 2022-07-11 20:04:08 +02:00
Rob Watson
fcd937c52a Read runtime data using Modbus protocol 2022-07-10 17:17:53 +02:00