Skip to content

Make Reboot after Factory Reset on an EP optional #11178

Closed
@def1149

Description

@def1149

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.

Metadata

Metadata

Assignees

Labels

Area: ZigbeeIssues and Feature Request about ZigbeeType: Feature requestFeature request for Arduino ESP32

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions