Skip to content

AsyncSerialClient: Are request retries implemented? #1506

Answered by janiversen
aq-daniel asked this question in Help
Discussion options

You must be logged in to vote

I was wondering if you have misunderstood how retry works. It is a send retry, which means it will try to resend the message until it is successfully sent or retries have been reached, this has nothing to do with what we receive.

I suspect what you want is something like a transaction_retry, the retries until a response is recieved, but that is something we cannot do in the library, because some write_commands might be dangerous to repeat (e.g. a step_up command) and cause potentially dangerous situations. In your application you know if it is safe to repeat the command.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
1 reply
@aq-daniel
Comment options

Comment options

You must be logged in to vote
2 replies
@aq-daniel
Comment options

@janiversen
Comment options

Answer selected by janiversen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants