eModbus / eModbus

Modbus library for RTU, ASCII and TCP protocols. Primarily developed on and for ESP32 MCUs.
https://emodbus.github.io
MIT License
417 stars 136 forks source link

Fix ModbusClientTCP.handleConnection, on connection error add to response map #222

Closed mcuadros closed 2 years ago

mcuadros commented 2 years ago

Fixes https://github.com/eModbus/eModbus/issues/221

Basically, I copy pasted the code from RTU..., so I guess it has a better solution.

Miq1 commented 2 years ago

This is no suitable fix for the problem described in the issue report.