I need get Arduino to be at the same time Modbus master and slave towards to devices. In a way Arduino should be sort of mediator between.
I am familiar with ModbusMaster library which is quite ok but it does not support slave at all.
ArduinoModbus (which uses ArduinoRS485) can be hacked to use HW serial by modifying RS485.cpp but in that it can only be used with one serial port.
Is there library capable for two HW serial ports, one for master and pone for slave?