Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

master服务端 rtu没有事务id 接不到响应 #19

Open
OTMING opened this issue Sep 24, 2024 · 0 comments
Open

master服务端 rtu没有事务id 接不到响应 #19

OTMING opened this issue Sep 24, 2024 · 0 comments

Comments

@OTMING
Copy link

OTMING commented Sep 24, 2024

222

`
protected void cacheResponse(ModbusFrame response) {
if (this.isCacheResponse && response != null) {
Short funcCode = response.getFunction().getFunctionCode();
int respTransactionIdentifier = response.getHeader().getTransactionIdentifier();
ModebusFrameCacheFactory.getInstance().getResponseCache(funcCode).put(respTransactionIdentifier, response);
}

}
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant