Skip to content

Conversation

andig
Copy link
Owner

@andig andig commented May 3, 2024

No description provided.

frzifus and others added 30 commits November 22, 2021 21:18
fix: print original function code for exceptions
This was previously attempted with the flushAll call, but this doesn't
seem to be reliable in practice - since it sets the read timeout to
time.Now(), this means that in practice the Read in most cases actually
returns directly without attempting to read.

Instead of trying to extend the deadline for the flushing read by some
arbitrary small value, this fix handles the problem at a different
place: if we detect a transaction ID mismatch by 1, we simply ignore the
response and assume that a matching response will follow. This required
some refactoring of the reading code since just retrying the read
without another write wasn't easily possible.
…match

fix: retry reading query response on transaction id mismatch
…match

feat(tcpclient): added skipping of transaction mismatches by more than one packet
Wrap open error with device name for context
…ters

Fix Modbus-CLI for WriteMultipleRegisters
feat(cmd/modbus-cli): support writing single coil
…odings

feat(modbus-cli): add option to print out different encoding options
gq0 and others added 30 commits July 6, 2023 11:16
Validate length of read result against request
…o to Debug when debugging logs were displayed
Return data of too large responses
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.

10 participants