how can i modify nextTransactionId property in TcpMatser class?
linzx2015 opened this issue · comments
linzx commented
在我的项目中需要修改nextTransactionId的值,但是我查看源码之后发现不能修改,如果要让nextTransactionId值变化的话的需要不断去调用getNextTransactionId(),才能让其数值变化,在modbus4j的源码中是不是应该让开发者可以自己设置nextTransactionId的值?
Deleted user commented
@linzx2015 是非标的协议吗,标准的协议是不需要修改nextTransactionId的