libmodbus
libmodbus copied to clipboard
Setting transaction id in modbus_send_raw_request
Hello
modbus_send_raw_request sets the transaction id to 0. In some case, it is necessary to force its value. I added a new function (modbus_send_raw_request_tid) that allows one to set the t_id. I let modbus_send_raw_request for backward compatibility.
Are you ok with the function name? Regards
Hello @stephane. Do you think it possible to merge this PR?
This one and others, I should have more time starting next week.
Next week -> Next year 😬. Very good PR, thank you @cedricboudinet