Stefan Allius
4abc308445
fix exception in MODBUS timeout callback
2024-06-30 00:27:58 +02:00
Stefan Allius
80183598ca
cleanup
2024-06-16 13:03:33 +02:00
Stefan Allius
f9b02f3486
add a close handler to release internal resources
2024-06-16 11:56:03 +02:00
Stefan Allius
0b2631c162
beautify some traces
2024-06-07 19:27:36 +02:00
Stefan Allius
039a021cda
cleanup trace output
2024-06-04 21:55:57 +02:00
Stefan Allius
66657888dd
add log_level support for modbus commands
2024-05-28 19:32:20 +02:00
Stefan Allius
8fc5eb3670
log MQTT to data topic
2024-05-22 22:53:04 +02:00
Stefan Allius
da2388941e
allow only one MODBUS retry
...
- More than one retry usually makes no sense, as
random errors are usually corrected. If the
first retry also fails, the chance that a second
or third retry will be successful is very small
2024-05-21 19:37:55 +02:00
Stefan Allius
eff3e7558b
increase test coverage
2024-05-20 16:53:26 +02:00
Stefan Allius
6ef6f4cd34
cleanup
2024-05-20 00:48:23 +02:00
Stefan Allius
9ac1f6f46d
add Modbus retrasmissions
2024-05-19 21:17:16 +02:00
Stefan Allius
282a459ef0
add Modbus response forwarding
2024-05-19 12:23:58 +02:00
Stefan Allius
d25173e591
fix sending next pdu before we have parsed the last response
2024-05-18 23:11:49 +02:00
Stefan Allius
f4da16987f
add fifo and timeout handler for modbus
2024-05-18 20:18:15 +02:00
Stefan Allius
14425da5fa
improve Modbus logging
2024-05-13 22:48:44 +02:00
Stefan Allius
26f108cc51
build version string in the same format as TSUN
2024-05-10 20:50:37 +02:00
Stefan Allius
41d9a2a1ef
improve logger
2024-05-09 14:19:37 +02:00
Stefan Allius
2ec0a59cd3
add modbus long int support
2024-05-08 23:48:41 +02:00
Stefan Allius
3fd528bdbe
improve logging
2024-05-07 21:20:12 +02:00
Stefan Allius
54d2bf4439
set err value for unit tests
2024-05-07 17:52:51 +02:00
Stefan Allius
f804b755a4
improve modbus trace
2024-05-06 23:18:47 +02:00
Stefan Allius
283ae31af2
parse modbus message and store values in db
2024-05-05 20:16:28 +02:00
Stefan Allius
fdedfcbf8e
reneme Modbus constants
2024-05-03 18:21:59 +02:00
Stefan Allius
58c3333fcc
initial checkin
2024-05-02 23:55:59 +02:00