-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Make Reboot after Factory Reset on an EP optional #11178
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
Comments
Hello, can I take up this issue or is anyone else working on this? |
Hi @Citrus101, I have this assigned to me as I am maintainer of Zigbee Library but I did not start yet. |
Oh okay perfect, will do. |
@P-R-O-C-H-Y sorry to bother you like this but can you provide me your thought process for the solution you were going to come up with? |
@Citrus101 I have some thought but I would need to investigate the options. Maybe it's not that simple as I imagine. So please let me work on this fr. Would be easier for me to do it directly when I would need to also investigate. |
Yes agreed. I'll sit this one out. |
Working as requested |
Related area
Zigbee
Hardware specification
C6, H2
Is your feature request related to a problem?
When an EP executes a factory reset, it also executes a device reboot. When I execute a factory reset, I may want to shut the device down, not reboot. Currently, I need to set a shutdown flag in flash, and upon reboot, if the flag is set, clear it and shut the device down. That works, but it's a workaround.
Describe the solution you'd like
Add a boolean to factoryReset(bool reboot)
If true, reboot.
If false, return to the caller
Describe alternatives you've considered
Flash-based flag to signal shutdown after the reboot from a factoryReset() call.
Additional context
No response
I have checked existing list of Feature requests and the Contribution Guide
The text was updated successfully, but these errors were encountered: