Skip to content

Conversation

@AsgerWenneb
Copy link

PR to fix the request PDU length calculation mentioned in #12.

My application doesn't use coils but I've attempted to implement the fix for FC 0x0F as well. I have not looked at the TCP implementation at all (I have no experience with it). An error was also added for when the quantity and bytes fields don't match up.

@flosse
Copy link
Member

flosse commented Sep 16, 2025

@AsgerWenneb

Currently, I have neither a device to test this nor the time to look into the specifications.
would you mind to add some tests for this & rebase your branch?

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

Successfully merging this pull request may close these issues.

2 participants