added reboot-command
This commit is contained in:
parent
fc592c4342
commit
9301607468
@ -17,6 +17,7 @@
|
||||
#include <Arduino.h>
|
||||
#include "webui.h"
|
||||
const char PROGMEM helpCmd[] = "sysinfo - System Info\n"
|
||||
"reboot - System Reboot\n"
|
||||
"netinfo - WiFi Info\n"
|
||||
"formatPDS - Format Persistence EEPROM Data\n"
|
||||
"formatCFG - Format Configuration EEPROM Data\n"
|
||||
|
@ -189,6 +189,8 @@ void processCmdDebug(String command)
|
||||
// Check the received command and execute corresponding actions
|
||||
if (command == "help")
|
||||
Debug_printHelp();
|
||||
else if (command == "reboot")
|
||||
globals.systemStatus = sysStat_Shutdown;
|
||||
else if (command == "sysinfo")
|
||||
Debug_printSystemInfo();
|
||||
else if (command == "netinfo")
|
||||
|
Loading…
x
Reference in New Issue
Block a user