libmodbus icon indicating copy to clipboard operation
libmodbus copied to clipboard

Setting transaction id in modbus_send_raw_request

Open cedricboudinet opened this issue 2 years ago • 2 comments

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

cedricboudinet avatar Feb 07 '23 18:02 cedricboudinet

Hello @stephane. Do you think it possible to merge this PR?

cedricboudinet avatar Mar 21 '23 15:03 cedricboudinet

This one and others, I should have more time starting next week.

stephane avatar Mar 22 '23 08:03 stephane

Next week -> Next year 😬. Very good PR, thank you @cedricboudinet

stephane avatar Jul 16 '24 09:07 stephane