-
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
Add network retry and case failsafe timer to AutoCommissioner #23209
Conversation
PR #23209: Size comparison from 9f08fc1 to 570dd4c Increases (1 build for esp32)
Decreases (1 build for esp32)
Full report (5 builds for esp32, mbed, nrfconnect)
|
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.
This would be a lot clearer as two separate PRs, addressing the two separate issues. It's quite hard to tell which parts here are needed for the fail-safe bits and which parts are needed for the network fallback bits.
… tvapps-android29
PR #23209: Size comparison from 6519b91 to 4b15dec Increases (2 builds for esp32, linux)
Decreases (6 builds for bl602, bl702, cyw30739, esp32, psoc6)
Full report (20 builds for bl602, bl702, cyw30739, esp32, linux, mbed, nrfconnect, psoc6, qpg)
|
…ssioner (#23516) * Restyled by whitespace * Restyled by google-java-format Co-authored-by: Restyled.io <commits@restyled.io>
Fixes #23208
This PR adds a command to CHIPDeviceController to reset the failsafe timer. It also adds an optional CASE Failsafe Timer configuration to CommissioningParameters. When set, this will cause the failsafe to be reset to this value prior to operational discovery.
This PR returns the AutoCommissioner back to the kNeedsNetworkCreds stage when either the network config or network enable commands fail, in order to allow the caller to try with a different network. This behavior is only enabled when ScanNetworks is enabled since the kNeedsNetworkCreds stage is only supported when ScanNetworks is enabled.