1
0
Fork 0
Commit Graph

21 Commits (refactor)

Author SHA1 Message Date
Bo Jeanes 5fc0e5b3a2 Address clippy errors 2022-09-09 16:58:43 +10:00
Bo Jeanes e126e87e47 Remove unused/commented-out code 2022-09-09 16:44:39 +10:00
Bo Jeanes 6c01508457 Fix test 2022-09-09 16:38:24 +10:00
Bo Jeanes c8139038f7 Fix register scale in example 2022-09-09 16:25:28 +10:00
Bo Jeanes 2d8612348f Updating to MQTT with parsed state working
However, definitely getting some TCP issues to Modbus client, likely due
to unsafe polling of a task or something. If the connection establishes,
it seems rock solid, but sometimes it will get a "could not fill buffer"
error early on and then it just doesn't work.

It seems to come in waves. I think I'll need to handle it specifically
and restart the connection, if I can't identify the root cause.
2022-09-09 16:12:58 +10:00
Bo Jeanes 31da5cdd4b Update README 2022-09-09 12:34:03 +10:00
Bo Jeanes addd7bd472 Close MQTT connection only after everything else has shutdown 2022-09-08 18:31:05 +10:00
Bo Jeanes 34acb69ee1 wip 2022-09-08 17:52:49 +10:00
Bo Jeanes 1698959de9 Fix tests 2022-09-08 11:17:16 +10:00
Bo Jeanes 32cd2b2e78 Refactor modbus connection starting 2022-09-08 10:59:50 +10:00
Bo Jeanes cd3cc6f19c wip: connector mostly working 2022-09-08 10:16:44 +10:00
Bo Jeanes a742fd2986 WIP 2022-09-07 12:20:02 +10:00
Bo Jeanes 2afad811df Add name, about, version to CLI output 2022-09-06 08:56:59 +10:00
Bo Jeanes 8a1f340e01 Split protos into build features 2022-09-06 08:56:59 +10:00
Bo Jeanes b6943ce9a9 Start custom error type 2022-09-06 08:56:59 +10:00
Bo Jeanes 8365c25fd0 Add GH action for tests/clippy 2022-09-04 13:10:39 +10:00
Bo Jeanes c664117971 Fix latest clippy errors 2022-09-01 08:24:58 +10:00
Bo Jeanes ac3a7f0775 Fix tests 2022-08-30 17:40:03 +10:00
Bo Jeanes 8257f2a92a Add version requirements between workspace crates 2022-08-30 17:05:04 +10:00
Bo Jeanes bfdbf651ba Add homepage and repository to manifests 2022-08-30 17:01:08 +10:00
Bo Jeanes e3d4d024ce Implement basic WiNet-S modbus driver
This also splits the project into 3 crates, which are _theoretically_
indepently useful, though the target audience will be very small...
2022-08-30 16:28:33 +10:00