Closed
Description
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
- I confirm I have checked existing list of Feature requests and Contribution Guide.