-
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
Don't expire failsafe when commissioning window closes #19695
Don't expire failsafe when commissioning window closes #19695
Conversation
PR #19695: Size comparison from 0a90632 to 45f5d70 Increases (37 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, nrfconnect, p6, telink)
Decreases (5 builds for cc13x2_26x2)
Full report (41 builds for cc13x2_26x2, cyw30739, efr32, esp32, k32w, linux, mbed, nrfconnect, p6, telink)
|
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.
I think the ExpireFailSafeIfArmed()
call in Cleanup() can just go away altogether, based on these callsites...
I was wondering if anyone had a recommendation on how to use chip-tool to test this PR I tried to do something with chip-repl today and that didn't work out. I tried messing around with chip-tool and hitting issue with revoking-commissioning. I was thinking something along the lines of (not even sure if step 2 is doing what I think it is doing):
But the revoke command is failing here |
You probably want to throw
This needs a |
Problem
*Fixes #19678
Change overview
No longer expire the failsafe timer when the commission window closes either due to open window timeout or RevokeCommissioning command
Testing
chip-tool pairing onnetwork 1 20202021
chip-tool pairing open-commissioning-window 1 0 200 1000 3840
chip-tool interactive start
pairing code-paseonly 17 749701123365521327694
chip-tool administratorcommissioning revoke-commissioning 1 0 --timedInteractionTimeoutMs 1000
generalcommissioning arm-fail-safe 60 0 17 0
revoke-commissioning
fail-safe would trigger and this command would never send