A library based on freemodbus 1.6 (https://www.embedded-experts.at/en/freemodbus-downloads/)
Added the ability to use a slave in several modes at the same time. At the time of sending the packet, processing and sending the response, the master must use only ONE protocol.