but Its Error: 0xe0 (Timeout), in the other hand the connection is true connected at my wifi both of them (gateway & slave) and the port is correct but still got same error. is that any additional configuration? or are you also build the code for slave modbus tcp/ip? thanks
I'm not sure if this project is suitable for your setup. This firmware implements a ModbusTCP <-> Modbus RTU gateway - so you can use ModbusTCP to access the registers of a ModbusRTU device.
I am trying to connect the esp32 gateway in your source code with some slave its build from this site https://github.com/espressif/esp-idf/tree/a2d76ad38ad4be46bdc7ce2becab45fbe71ecc48/examples/protocols/modbus/tcp/mb_tcp_slave
but Its Error: 0xe0 (Timeout), in the other hand the connection is true connected at my wifi both of them (gateway & slave) and the port is correct but still got same error. is that any additional configuration? or are you also build the code for slave modbus tcp/ip? thanks