New factory reset (device) admin command and make distinction about existing command that only config / device state is removed

pull/539/head
Ben Meadors 2024-07-31 10:42:35 -05:00
rodzic 976748839f
commit 4d3efb56d8
1 zmienionych plików z 7 dodań i 2 usunięć

Wyświetl plik

@ -316,6 +316,11 @@ message AdminMessage {
*/
bool commit_edit_settings = 65;
/*
* Tell the node to factory reset config everything; all device state and configuration will be returned to factory defaults and BLE bonds will be cleared.
*/
int32 factory_reset_device = 94;
/*
* Tell the node to reboot into the OTA Firmware in this many seconds (or <0 to cancel reboot)
* Only Implemented for ESP32 Devices. This needs to be issued to send a new main firmware via bluetooth.
@ -339,9 +344,9 @@ message AdminMessage {
int32 shutdown_seconds = 98;
/*
* Tell the node to factory reset, all device settings will be returned to factory defaults.
* Tell the node to factory reset config; all device state and configuration will be returned to factory defaults; BLE bonds will be preserved.
*/
int32 factory_reset = 99;
int32 factory_reset_config = 99;
/*
* Tell the node to reset the nodedb.