Say I am master and want to access some devices on the lines that can only talk at 9600, while others only talk at 19200. With current API's, I need to modbus_free() + modbus_new() the modbus library instance.
This is an enhancement request that it it possible to change an RTU modbus line configuration with an API function, and the libmodbus library would manage close() + open() internally when this changes (not if unchanged), before next communication attempt.
Say I am master and want to access some devices on the lines that can only talk at 9600, while others only talk at 19200. With current API's, I need to modbus_free() + modbus_new() the modbus library instance. This is an enhancement request that it it possible to change an RTU modbus line configuration with an API function, and the libmodbus library would manage close() + open() internally when this changes (not if unchanged), before next communication attempt.