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

How to specify custom response decoder? #311

Closed
daiguangbao opened this issue Dec 18, 2024 · 2 comments
Closed

How to specify custom response decoder? #311

daiguangbao opened this issue Dec 18, 2024 · 2 comments

Comments

@daiguangbao
Copy link

it's now trying to get a valid function code (of course there won't be, since the function code is custom), and give up after 20 retries.
tokio-modbus-0.16.1\src\codec\rtu.rs 265 ---> Failed to decode response frame: Invalid function code: 0x65
Is there a way users can specify their own decoder outside?

@daiguangbao
Copy link
Author

duplcation of #310 due to repeated submit -- bad network,

@daiguangbao
Copy link
Author

close

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