ed-chemnitz / qmodbus

GNU General Public License v2.0
279 stars 128 forks source link

Handle TCP disconnections #20

Closed shiftee closed 6 years ago

shiftee commented 6 years ago

This PR opens a new TCP/IP connection for each ModbusTCP request.

Up to now when a TCP connection breaks, the user must modify either the ip address or port to re-enable the Apply button which can then be used to open a new connection.

Now when debugging ModbusTCP connections we can configure the correct address and start polling. We are then free to modify wiring, slave device settings or laptop ip settings etc. without needing to reconfigure QModBus using the procedure above.

These changes mean the Apply button is obsolete so it has been removed.

tobydox commented 6 years ago

Thanks for the contribution!