Modbus library which supports RTU communication over a serial line or a TCP link
https://libmodbus.org/