Open
Description
Is it possible to improve callback?
instead of
bool cbf0(Modbus::ResultCode event, uint16_t transactionId, void* data)
to
bool cbfx(Modbus::ResultCode event, uint16_t transactionId, void* data, int idSlave)
in case of multiples slaves inside the call back would be there the idSlave and would make it easier to work on the errors.
the transationid is just that...