-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
When retrying CASE during commissioning, extend the fail-safe. #25595
When retrying CASE during commissioning, extend the fail-safe. #25595
Conversation
PR #25595: Size comparison from 68082bd to 1d50469 Increases (1 build for cc32xx)
Decreases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
1d50469
to
0a28980
Compare
If we don't do this, we can get into a situation where our retries take longer than the fail-safe timer, so we are still retrying by the other side is not even listening anymore. The changes here are as follows: 1) Expose various bits on CASEClient and CASESession to allow us to compute how long it will take before we know whether the next CASE retry has succeeded or failed. 2) Add a way for OperationalSessionSetup to notify its consumers that it's going to retry, and how long it expects it to take before it knows whether the retry has succeeded. 3) Change DeviceCommissioner to extend the fail-safe when it's told that OperationalSessionSetup will retry.
0a28980
to
b67f169
Compare
PR #25595: Size comparison from 99cbba0 to b67f169 Increases (1 build for cc32xx)
Decreases (1 build for cc32xx)
Full report (1 build for cc32xx)
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggest making the API unconditional and just having the bodies of implementation #if conditionals.
Filed #25601 |
…ct-chip#25595) If we don't do this, we can get into a situation where our retries take longer than the fail-safe timer, so we are still retrying by the other side is not even listening anymore. The changes here are as follows: 1) Expose various bits on CASEClient and CASESession to allow us to compute how long it will take before we know whether the next CASE retry has succeeded or failed. 2) Add a way for OperationalSessionSetup to notify its consumers that it's going to retry, and how long it expects it to take before it knows whether the retry has succeeded. 3) Change DeviceCommissioner to extend the fail-safe when it's told that OperationalSessionSetup will retry.
…ct-chip#25595) If we don't do this, we can get into a situation where our retries take longer than the fail-safe timer, so we are still retrying by the other side is not even listening anymore. The changes here are as follows: 1) Expose various bits on CASEClient and CASESession to allow us to compute how long it will take before we know whether the next CASE retry has succeeded or failed. 2) Add a way for OperationalSessionSetup to notify its consumers that it's going to retry, and how long it expects it to take before it knows whether the retry has succeeded. 3) Change DeviceCommissioner to extend the fail-safe when it's told that OperationalSessionSetup will retry.
If we don't do this, we can get into a situation where our retries take longer than the fail-safe timer, so we are still retrying by the other side is not even listening anymore.
The changes here are as follows:
long it will take before we know whether the next CASE retry has succeeded or
failed.
to retry, and how long it expects it to take before it knows whether the
retry has succeeded.
OperationalSessionSetup will retry.
Fixes #25581