kopia lustrzana https://github.com/meshtastic/protobufs
Merge pull request #539 from meshtastic/factory-reset-distinction
New factory reset (device) admin command and make distinction about existing command that only config / device state is removedpull/547/head
commit
2fa7d6a4b7
|
@ -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.
|
||||
|
|
Ładowanie…
Reference in New Issue