esp32ModbusRTU
esp32ModbusRTU copied to clipboard
Remove address parameter
Removed the address parameter in onData and onDataToken handler calls, plus the preparational statements to provide them.
The address is a partly valid reference only with function codes using it, those just executing commands without dedicated address would not benefit. The universal token parameter serves the same purpose, but regardless of function code. As it is a user-defined uint32_t value, uniqueness can be maintained by the application.
Please note that this PR is to be applied on top of the previous two #39 "Token implementation" and #41 "New Receive".